Package org.jboss.as.controller
Class PersistentResourceDefinition
- java.lang.Object
-
- org.jboss.as.controller.SimpleResourceDefinition
-
- org.jboss.as.controller.PersistentResourceDefinition
-
- All Implemented Interfaces:
ResourceDefinition
public abstract class PersistentResourceDefinition extends SimpleResourceDefinition
A persistent resource definition. This needs to be combined withPersistentResourceXMLDescription
to simplify the process of creating parsers and persisters.- Author:
- Tomaz Cerar (c) 2013 Red Hat Inc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PersistentResourceDefinition.Parameters
Deprecated.Use the superclass
-
Constructor Summary
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Collection<AttributeDefinition>
getAttributes()
protected List<? extends PersistentResourceDefinition>
getChildren()
void
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.void
registerChildren(ManagementResourceRegistration resourceRegistration)
Register child resources associated with this resource.-
Methods inherited from class org.jboss.as.controller.SimpleResourceDefinition
getAccessConstraints, getDeprecationData, getDescriptionProvider, getFlagsSet, getMaxOccurs, getMinOccurs, getPathElement, getResourceDescriptionResolver, isFeature, isOrderedChild, isRuntime, registerAdditionalRuntimePackages, registerAddOperation, registerAddOperation, registerCapabilities, registerNotifications, registerOperations, registerRemoveOperation, registerRemoveOperation, setDeprecated
-
-
-
-
Constructor Detail
-
PersistentResourceDefinition
protected PersistentResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver)
-
PersistentResourceDefinition
protected PersistentResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver, OperationStepHandler addHandler, OperationStepHandler removeHandler)
-
PersistentResourceDefinition
protected PersistentResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver, OperationStepHandler addHandler, OperationStepHandler removeHandler, OperationEntry.Flag addRestartLevel, OperationEntry.Flag removeRestartLevel)
-
PersistentResourceDefinition
protected PersistentResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver, OperationStepHandler addHandler, OperationStepHandler removeHandler, boolean isRuntime)
-
PersistentResourceDefinition
protected PersistentResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver, OperationStepHandler addHandler, OperationStepHandler removeHandler, OperationEntry.Flag addRestartLevel, OperationEntry.Flag removeRestartLevel, boolean isRuntime)
-
PersistentResourceDefinition
@Deprecated protected PersistentResourceDefinition(PersistentResourceDefinition.Parameters parameters)
Deprecated.
-
PersistentResourceDefinition
protected PersistentResourceDefinition(SimpleResourceDefinition.Parameters parameters)
-
-
Method Detail
-
registerChildren
public void registerChildren(ManagementResourceRegistration resourceRegistration)
Description copied from interface:ResourceDefinition
Register child resources associated with this resource.- Specified by:
registerChildren
in interfaceResourceDefinition
- Overrides:
registerChildren
in classSimpleResourceDefinition
- Parameters:
resourceRegistration
- aManagementResourceRegistration
created from this definition
-
registerAttributes
public void registerAttributes(ManagementResourceRegistration resourceRegistration)
Description copied from interface:ResourceDefinition
Register operations associated with this resource.- Specified by:
registerAttributes
in interfaceResourceDefinition
- Overrides:
registerAttributes
in classSimpleResourceDefinition
- Parameters:
resourceRegistration
- aManagementResourceRegistration
created from this definition
-
getChildren
protected List<? extends PersistentResourceDefinition> getChildren()
-
getAttributes
public abstract Collection<AttributeDefinition> getAttributes()
-
-