public abstract class DeploymentResourceDefinition extends SimpleResourceDefinition
Modifier and Type | Class and Description |
---|---|
static class |
DeploymentResourceDefinition.DeploymentResourceParent |
Modifier | Constructor and Description |
---|---|
protected |
DeploymentResourceDefinition(DeploymentResourceDefinition.DeploymentResourceParent parent,
OperationStepHandler addHandler,
OperationStepHandler removeHandler) |
Modifier and Type | Method and Description |
---|---|
List<AccessConstraintDefinition> |
getAccessConstraints()
Get the definition of any access constraints associated with the resource.
|
protected DeploymentResourceDefinition.DeploymentResourceParent |
getParent() |
protected abstract void |
registerAddOperation(ManagementResourceRegistration registration,
OperationStepHandler handler,
OperationEntry.Flag... flags)
Registers add operation
|
void |
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
getDescriptionProvider, getFlagsSet, getPathElement, getResourceDescriptionResolver, registerAddOperation, registerChildren, registerOperations, registerRemoveOperation, registerRemoveOperation
protected DeploymentResourceDefinition(DeploymentResourceDefinition.DeploymentResourceParent parent, OperationStepHandler addHandler, OperationStepHandler removeHandler)
public void registerAttributes(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerAttributes
in interface ResourceDefinition
registerAttributes
in class SimpleResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionpublic List<AccessConstraintDefinition> getAccessConstraints()
SimpleResourceDefinition
getAccessConstraints
in interface ConstrainedResourceDefinition
getAccessConstraints
in class SimpleResourceDefinition
protected DeploymentResourceDefinition.DeploymentResourceParent getParent()
protected abstract void registerAddOperation(ManagementResourceRegistration registration, OperationStepHandler handler, OperationEntry.Flag... flags)
SimpleResourceDefinition
registerAddOperation
in class SimpleResourceDefinition
registration
- resource on which to registerhandler
- operation handler to registerflags
- with flagsCopyright © 2013 JBoss by Red Hat. All rights reserved.