|
||||||||||
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.AdminResourceComponent
public class AdminResourceComponent
Defines the admin resource information of a configuration.
Example XML fragment of a admin resource within a configuration:
{@markupExample "Admin Resource Element" <adminResource> <groupId>de.smartics.sandbox</groupId> <artifactId>test-application-context-ds</artifactId> <version>0.1.0</version> <archiveType>pom</archiveType> <!-- classifier / --> </definitions>
Field Summary | |
---|---|
static org.jboss.as.controller.SimpleAttributeDefinition |
ARCHIVE_TYPE The attribute that holds the archive type. |
static org.jboss.as.controller.SimpleAttributeDefinition |
ARTIFACT_ID The attribute that holds the artifact ID. |
static org.jboss.as.controller.SimpleAttributeDefinition |
CLASSIFIER The attribute that holds the classifier. |
static org.jboss.as.controller.SimpleAttributeDefinition |
GROUP_ID The attribute that holds the group ID. |
static String |
ROOT_ELEMENT_NAME The name of the configuration XML element that holds the admin resource information. |
static org.jboss.as.controller.SimpleAttributeDefinition |
VERSION The attribute that holds the version. |
Fields inherited from class de.smartics.properties.jboss.extension.resources.components.AbstractComponent |
---|
writeHandler |
Constructor Summary | |
---|---|
AdminResourceComponent(org.jboss.as.controller.OperationStepHandler writeHandler) Default constructor. |
Method Summary | |
---|---|
void |
apply(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 ROOT_ELEMENT_NAME
The value of this constant is "adminResource".
"adminResource"
public static final org.jboss.as.controller.SimpleAttributeDefinition GROUP_ID
public static final org.jboss.as.controller.SimpleAttributeDefinition ARTIFACT_ID
public static final org.jboss.as.controller.SimpleAttributeDefinition VERSION
public static final org.jboss.as.controller.SimpleAttributeDefinition ARCHIVE_TYPE
public static final org.jboss.as.controller.SimpleAttributeDefinition CLASSIFIER
Constructor Detail |
---|
public AdminResourceComponent(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(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 |