|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.as.controller.AttributeDefinition
org.jboss.as.controller.SimpleAttributeDefinition
org.modeshape.jboss.subsystem.MappedSimpleAttributeDefinition
@Immutable public class MappedSimpleAttributeDefinition
Constructor Summary | |
---|---|
protected |
MappedSimpleAttributeDefinition(org.jboss.as.controller.SimpleAttributeDefinition defn,
List<String> pathToFieldInConfiguration)
|
Method Summary | |
---|---|
String |
getFieldName()
Get the name of the mapped field in the RepositoryConfiguration . |
List<String> |
getPathToContainerOfField()
Get the path to the field that contains the mapped field within the RepositoryConfiguration . |
List<String> |
getPathToField()
Get the path to the field within the RepositoryConfiguration . |
Object |
getTypedValue(org.jboss.dmr.ModelNode node)
Obtain from the supplied model node value the value that can be used in the RepositoryConfiguration field. |
protected static Object |
getTypedValue(org.jboss.dmr.ModelNode node,
org.jboss.as.controller.AttributeDefinition defn)
|
Methods inherited from class org.jboss.as.controller.SimpleAttributeDefinition |
---|
marshallAsAttribute, marshallAsAttribute, marshallAsElement, marshallAsElement, parse, parse, parseAndSetParameter, parseAndSetParameter |
Methods inherited from class org.jboss.as.controller.AttributeDefinition |
---|
addOperationParameterDescription, addOperationParameterDescription, addResourceAttributeDescription, addResourceAttributeDescription, correctValue, getAlternatives, getAttributeTextDescription, getDefaultValue, getFlags, getMeasurementUnit, getName, getNoTextDescription, getRequires, getType, getValidator, getXmlName, hasAlternative, isAllowed, isAllowExpression, isAllowNull, isMarshallable, isMarshallable, isRequired, resolveModelAttribute, validateAndSet, validateOperation, validateResolvedOperation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MappedSimpleAttributeDefinition(org.jboss.as.controller.SimpleAttributeDefinition defn, List<String> pathToFieldInConfiguration)
defn
- the simple attribute definitionpathToFieldInConfiguration
- the path to the field within the RepositoryConfiguration
documentMethod Detail |
---|
public List<String> getPathToField()
MappedAttributeDefinition
RepositoryConfiguration
.
getPathToField
in interface MappedAttributeDefinition
public List<String> getPathToContainerOfField()
MappedAttributeDefinition
RepositoryConfiguration
.
getPathToContainerOfField
in interface MappedAttributeDefinition
public String getFieldName()
MappedAttributeDefinition
RepositoryConfiguration
.
getFieldName
in interface MappedAttributeDefinition
public Object getTypedValue(org.jboss.dmr.ModelNode node) throws org.jboss.as.controller.OperationFailedException
MappedAttributeDefinition
getTypedValue
in interface MappedAttributeDefinition
node
- the model node value
org.jboss.as.controller.OperationFailedException
- if there was an error obtaining the value from the model nodeprotected static Object getTypedValue(org.jboss.dmr.ModelNode node, org.jboss.as.controller.AttributeDefinition defn) throws org.jboss.as.controller.OperationFailedException
org.jboss.as.controller.OperationFailedException
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |