public interface ResourceDefinition
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.
|
PathElement getPathElement()
null
if this is a definition of a root resource.null
if this is a definition of a root resource.DescriptionProvider getDescriptionProvider(ImmutableManagementResourceRegistration resourceRegistration)
DescriptionProvider
for the given resource.resourceRegistration
- the resource. Cannot be null
null
void registerOperations(ManagementResourceRegistration resourceRegistration)
resourceRegistration
- a ManagementResourceRegistration
created from this definitionvoid registerAttributes(ManagementResourceRegistration resourceRegistration)
resourceRegistration
- a ManagementResourceRegistration
created from this definitionvoid registerChildren(ManagementResourceRegistration resourceRegistration)
resourceRegistration
- a ManagementResourceRegistration
created from this definitionCopyright © 2015 JBoss by Red Hat. All rights reserved.