public class ModelOnlyResourceDefinition extends SimpleResourceDefinition
ResourceDefinition implementation designed for use in extensions
based on AbstractLegacyExtension. Takes the AttributeDefinitions provided to the constructor
and uses them to create a ModelOnlyAddStepHandler for handling add operations, and to
create a ModelOnlyWriteAttributeHandler for handling write-attribute operations. The
ModelOnlyRemoveStepHandler is used for remove operations.SimpleResourceDefinition.Parameters| Constructor and Description |
|---|
ModelOnlyResourceDefinition(PathElement pathElement,
ResourceDescriptionResolver descriptionResolver,
AttributeDefinition... attributes) |
ModelOnlyResourceDefinition(PathElement pathElement,
ResourceDescriptionResolver descriptionResolver,
ModelOnlyAddStepHandler addStepHandler,
AttributeDefinition... attributes) |
ModelOnlyResourceDefinition(SimpleResourceDefinition.Parameters parameters,
AttributeDefinition... attributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
getAccessConstraints, getDeprecationData, getDescriptionProvider, getFlagsSet, getMaxOccurs, getMinOccurs, getPathElement, getResourceDescriptionResolver, isOrderedChild, isRuntime, registerAddOperation, registerAddOperation, registerCapabilities, registerChildren, registerNotifications, registerOperations, registerRemoveOperation, registerRemoveOperation, setDeprecatedpublic ModelOnlyResourceDefinition(SimpleResourceDefinition.Parameters parameters, AttributeDefinition... attributes)
public ModelOnlyResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver, AttributeDefinition... attributes)
public ModelOnlyResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver, ModelOnlyAddStepHandler addStepHandler, AttributeDefinition... attributes)
public void registerAttributes(ManagementResourceRegistration resourceRegistration)
ResourceDefinitionregisterAttributes in interface ResourceDefinitionregisterAttributes in class SimpleResourceDefinitionresourceRegistration - a ManagementResourceRegistration created from this definitionCopyright © 2017 JBoss by Red Hat. All rights reserved.