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.| Constructor and Description |
|---|
ModelOnlyResourceDefinition(PathElement pathElement,
ResourceDescriptionResolver descriptionResolver,
AttributeDefinition... attributes) |
ModelOnlyResourceDefinition(PathElement pathElement,
ResourceDescriptionResolver descriptionResolver,
ModelOnlyAddStepHandler addStepHandler,
AttributeDefinition... attributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
getAccessConstraints, getDeprecationData, getDescriptionProvider, getFlagsSet, getPathElement, getResourceDescriptionResolver, isRuntime, registerAddOperation, registerAddOperation, registerChildren, registerNotifications, registerOperations, registerRemoveOperation, registerRemoveOperation, setDeprecatedpublic 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 © 2015 JBoss by Red Hat. All rights reserved.