public class ResourceAliasDefinition extends Object implements ResourceDefinition
AliasedResourceDefinition
for the resource being aliased.Constructor and Description |
---|
ResourceAliasDefinition(PathElement path,
AliasedResourceDefinition delegate) |
Modifier and Type | Method and Description |
---|---|
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. |
void |
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
void |
registerChildren(ManagementResourceRegistration resourceRegistration)
Register child resources associated with this resource.
|
void |
registerOperations(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
public ResourceAliasDefinition(PathElement path, AliasedResourceDefinition delegate)
public PathElement getPathElement()
ResourceDefinition
null
if this is a definition of a root resource.getPathElement
in interface ResourceDefinition
null
if this is a definition of a root resource.public DescriptionProvider getDescriptionProvider(ImmutableManagementResourceRegistration resourceRegistration)
ResourceDefinition
DescriptionProvider
for the given resource.getDescriptionProvider
in interface ResourceDefinition
resourceRegistration
- the resource. Cannot be null
null
public void registerOperations(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerOperations
in interface ResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionpublic void registerAttributes(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerAttributes
in interface ResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionpublic void registerChildren(ManagementResourceRegistration resourceRegistration)
ResourceDefinition
registerChildren
in interface ResourceDefinition
resourceRegistration
- a ManagementResourceRegistration
created from this definitionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.