public abstract class PathResourceDefinition extends SimpleResourceDefinition
SimpleResourceDefinition.Parameters| Modifier and Type | Field and Description |
|---|---|
static SimpleAttributeDefinition |
PATH
A path attribute definition
|
static PathElement |
PATH_ADDRESS |
static SimpleAttributeDefinition |
RELATIVE_TO
A relative-to attribute definition
|
| Modifier and Type | Method and Description |
|---|---|
static PathResourceDefinition |
createNamed()
Creates a resource definition for a path resource that does not require that the path details
be specified.
|
static PathResourceDefinition |
createNamed(PathManagerService pathManager)
Deprecated.
only for use by the kernel. May be removed at any time.
|
static PathResourceDefinition |
createResolvableSpecified(PathManagerService pathManager)
Creates a resource definition for a path resource that must have the path specified, but
for which the
read-resource management operation should support the
resolve-expresssions parameter. |
static PathResourceDefinition |
createSpecified(PathManagerService pathManager)
Creates a resource definition for a path resource that must have the path specified, but
for which the
read-resource management operation should not support the
resolve-expresssions parameter. |
static PathResourceDefinition |
createSpecifiedNoServices()
Creates a resource definition for a path resource that must have the path specified, but
for which interaction with the path manager should not be part of the execution of management
operations.
|
static PathResourceDefinition |
createSpecifiedNoServices(PathManagerService pathManager)
Deprecated.
only for use by the kernel. May be removed at any time
|
void |
registerAttributes(ManagementResourceRegistration resourceRegistration)
Register operations associated with this resource.
|
void |
registerOperations(ManagementResourceRegistration interfaces)
Register operations associated with this resource.
|
getAccessConstraints, getDeprecationData, getDescriptionProvider, getFlagsSet, getMaxOccurs, getMinOccurs, getPathElement, getResourceDescriptionResolver, isOrderedChild, isRuntime, registerAddOperation, registerAddOperation, registerCapabilities, registerChildren, registerNotifications, registerRemoveOperation, registerRemoveOperation, setDeprecatedpublic static final PathElement PATH_ADDRESS
public static final SimpleAttributeDefinition PATH
public static final SimpleAttributeDefinition RELATIVE_TO
public static PathResourceDefinition createResolvableSpecified(PathManagerService pathManager)
read-resource management operation should support the
resolve-expresssions parameter.pathManager - the path manager. Cannot be nullpublic static PathResourceDefinition createSpecified(PathManagerService pathManager)
read-resource management operation should not support the
resolve-expresssions parameter.pathManager - the path manager. Cannot be null@Deprecated public static PathResourceDefinition createNamed(PathManagerService pathManager)
pathManager - the path managerpublic static PathResourceDefinition createNamed()
@Deprecated public static PathResourceDefinition createSpecifiedNoServices(PathManagerService pathManager)
pathManager - the path managerpublic static PathResourceDefinition createSpecifiedNoServices()
public void registerOperations(ManagementResourceRegistration interfaces)
SimpleResourceDefinitionregisterOperations in interface ResourceDefinitionregisterOperations in class SimpleResourceDefinitioninterfaces - a ManagementResourceRegistration created from this definitionpublic void registerAttributes(ManagementResourceRegistration resourceRegistration)
ResourceDefinitionregisterAttributes in interface ResourceDefinitionregisterAttributes in class SimpleResourceDefinitionresourceRegistration - a ManagementResourceRegistration created from this definitionCopyright © 2016 JBoss by Red Hat. All rights reserved.