public abstract class PersistentResourceDefinition extends SimpleResourceDefinition
PersistentResourceXMLDescription
to
simplify the process of creating parsers and persisters.Modifier and Type | Class and Description |
---|---|
static class |
PersistentResourceDefinition.Parameters |
Modifier and Type | Method and 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.
|
getAccessConstraints, getDeprecationData, getDescriptionProvider, getFlagsSet, getPathElement, getResourceDescriptionResolver, isOrderedChild, isRuntime, registerAddOperation, registerAddOperation, registerCapabilities, registerNotifications, registerOperations, registerRemoveOperation, registerRemoveOperation, setDeprecated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaxOccurs, getMinOccurs
protected PersistentResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver)
protected PersistentResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver, OperationStepHandler addHandler, OperationStepHandler removeHandler)
protected PersistentResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver, OperationStepHandler addHandler, OperationStepHandler removeHandler, OperationEntry.Flag addRestartLevel, OperationEntry.Flag removeRestartLevel)
protected PersistentResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver, OperationStepHandler addHandler, OperationStepHandler removeHandler, boolean isRuntime)
protected PersistentResourceDefinition(PathElement pathElement, ResourceDescriptionResolver descriptionResolver, OperationStepHandler addHandler, OperationStepHandler removeHandler, OperationEntry.Flag addRestartLevel, OperationEntry.Flag removeRestartLevel, boolean isRuntime)
protected PersistentResourceDefinition(PersistentResourceDefinition.Parameters parameters)
public void registerChildren(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerChildren
in interface ResourceDefinition
registerChildren
in class SimpleResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionpublic void registerAttributes(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerAttributes
in interface ResourceDefinition
registerAttributes
in class SimpleResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionprotected List<? extends PersistentResourceDefinition> getChildren()
public abstract Collection<AttributeDefinition> getAttributes()
Copyright © 2023 JBoss by Red Hat. All rights reserved.