public class LegacyResourceDefinition extends Object implements ResourceDefinition
| Constructor and Description |
|---|
LegacyResourceDefinition(org.jboss.dmr.ModelNode modelDescription) |
| Modifier and Type | Method and Description |
|---|---|
List<AccessConstraintDefinition> |
getAccessConstraints()
Get the definition of any access constraints associated with the resource.
|
DescriptionProvider |
getDescriptionProvider(ImmutableManagementResourceRegistration resourceRegistration)
Gets a
DescriptionProvider for the given resource. |
PathElement |
getPathElement()
Gets the path element that describes how to navigate to this resource from its parent resource, or
null
if this is a definition of a root resource. |
boolean |
isRuntime() |
void |
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
void |
registerChildren(ManagementResourceRegistration resourceRegistration)
Register child resources associated with this resource.
|
void |
registerNotifications(ManagementResourceRegistration resourceRegistration)
Register notifications associated with this resource.
|
void |
registerOperations(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
public LegacyResourceDefinition(org.jboss.dmr.ModelNode modelDescription)
public PathElement getPathElement()
null
if this is a definition of a root resource.getPathElement in interface ResourceDefinitionnull if this is a definition of a root resource.public DescriptionProvider getDescriptionProvider(ImmutableManagementResourceRegistration resourceRegistration)
DescriptionProvider for the given resource.getDescriptionProvider in interface ResourceDefinitionresourceRegistration - the resource. Cannot be nullnullpublic void registerOperations(ManagementResourceRegistration resourceRegistration)
registerOperations in interface ResourceDefinitionresourceRegistration - a ManagementResourceRegistration created from this definitionpublic void registerNotifications(ManagementResourceRegistration resourceRegistration)
ResourceDefinitionregisterNotifications in interface ResourceDefinitionresourceRegistration - a ManagementResourceRegistration created from this definitionpublic void registerAttributes(ManagementResourceRegistration resourceRegistration)
registerAttributes in interface ResourceDefinitionresourceRegistration - a ManagementResourceRegistration created from this definitionpublic void registerChildren(ManagementResourceRegistration resourceRegistration)
registerChildren in interface ResourceDefinitionresourceRegistration - a ManagementResourceRegistration created from this definitionpublic List<AccessConstraintDefinition> getAccessConstraints()
getAccessConstraints in interface ResourceDefinitionpublic boolean isRuntime()
isRuntime in interface ResourceDefinitionCopyright © 2015 JBoss by Red Hat. All rights reserved.