|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.jboss.extension.resources.components.AbstractComponent de.smartics.properties.jboss.extension.resources.components.CacheComponent
public final class CacheComponent
Defines the cache information of a configuration.
Example XML fragment of a cache within a configuration:
Cache Element
<cache> <jndiName>java:jboss/infinispan/container/smartics-properties</jndiName> </cache>
Field Summary | |
---|---|
static String |
CACHE_ELEMENT_NAME The name of the configuration XML element that holds the cache information. |
static org.jboss.as.controller.SimpleAttributeDefinition |
CACHE_NAME The attribute that holds the name of the cache within the container. |
static org.jboss.as.controller.SimpleAttributeDefinition |
JNDI_NAME The attribute that holds the JNDI name of the cache container. |
Fields inherited from class de.smartics.properties.jboss.extension.resources.components.AbstractComponent |
---|
writeHandler |
Constructor Summary | |
---|---|
CacheComponent(org.jboss.as.controller.OperationStepHandler writeHandler) Default constructor. |
Method Summary | |
---|---|
void |
apply(String identifier, de.smartics.properties.spi.config.config.PropertiesConfiguration propertiesConfig, org.jboss.dmr.ModelNode model) |
void |
populateModel(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) |
void |
read(org.jboss.staxmapper.XMLExtendedStreamReader reader, org.jboss.dmr.ModelNode addOperation) |
void |
registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration resourceRegistration) |
void |
write(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode config) |
Methods inherited from class de.smartics.properties.jboss.extension.resources.components.AbstractComponent |
---|
getAttribute, isAtLeastOneDefined, normalize, readAttribute, writeAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CACHE_ELEMENT_NAME
The value of this constant is "cache".
"cache"
public static final org.jboss.as.controller.SimpleAttributeDefinition JNDI_NAME
public static final org.jboss.as.controller.SimpleAttributeDefinition CACHE_NAME
Constructor Detail |
---|
public CacheComponent(org.jboss.as.controller.OperationStepHandler writeHandler)
Method Detail |
---|
public void registerAttributes(org.jboss.as.controller.registry.ManagementResourceRegistration resourceRegistration)
public void populateModel(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
org.jboss.as.controller.OperationFailedException
public void read(org.jboss.staxmapper.XMLExtendedStreamReader reader, org.jboss.dmr.ModelNode addOperation) throws XMLStreamException
XMLStreamException
public void write(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode config) throws XMLStreamException
XMLStreamException
public void apply(String identifier, de.smartics.properties.spi.config.config.PropertiesConfiguration propertiesConfig, org.jboss.dmr.ModelNode model)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |