Class PathResourceDefinition
java.lang.Object
org.jboss.as.controller.ResourceDefinition.MinimalResourceDefinition
org.jboss.as.controller.SimpleResourceDefinition
org.jboss.as.controller.services.path.PathResourceDefinition
- All Implemented Interfaces:
Feature,ResourceDefinition,ResourceRegistration
Definition of a resource type that represents a logical filesystem path.
- Author:
- Kabir Khan
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.as.controller.SimpleResourceDefinition
SimpleResourceDefinition.ParametersNested classes/interfaces inherited from interface org.jboss.as.controller.ResourceDefinition
ResourceDefinition.AbstractConfigurator<C extends ResourceDefinition.Configurator<C>>, ResourceDefinition.Builder, ResourceDefinition.Configurator<C extends ResourceDefinition.Configurator<C>>, ResourceDefinition.MinimalBuilder, ResourceDefinition.MinimalResourceDefinitionNested classes/interfaces inherited from interface org.jboss.as.controller.ResourceRegistration
ResourceRegistration.DefaultResourceRegistration -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleAttributeDefinitionA path attribute definitionstatic final PathElementstatic final RuntimeCapability<Void>static final SimpleAttributeDefinitionA relative-to attribute definition -
Method Summary
Modifier and TypeMethodDescriptionstatic PathResourceDefinitionCreates a resource definition for a path resource that does not require that the path details be specified.static PathResourceDefinitioncreateResolvableSpecified(PathManagerService pathManager) Creates a resource definition for a path resource that must have the path specified, but for which theread-resourcemanagement operation should support theresolve-expresssionsparameter.static PathResourceDefinitioncreateSpecified(PathManagerService pathManager) Creates a resource definition for a path resource that must have the path specified, but for which theread-resourcemanagement operation should not support theresolve-expresssionsparameter.static PathResourceDefinitionCreates 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.voidregisterAttributes(ManagementResourceRegistration resourceRegistration) Register operations associated with this resource.voidregisterOperations(ManagementResourceRegistration interfaces) Register operations associated with this resource.Methods inherited from class org.jboss.as.controller.SimpleResourceDefinition
getAddOperationParameters, getDeprecationData, getFlagsSet, getResourceDescriptionResolver, registerAdditionalRuntimePackages, registerAddOperation, registerAddOperation, registerCapabilities, registerChildren, registerNotifications, registerRemoveOperation, registerRemoveOperation, setDeprecatedMethods inherited from class org.jboss.as.controller.ResourceDefinition.MinimalResourceDefinition
getAccessConstraints, getDescriptionProvider, getMaxOccurs, getMinOccurs, getPathElement, getStability, isFeature, isOrderedChild, isRuntime
-
Field Details
-
PATH_CAPABILITY
-
PATH_ADDRESS
-
PATH
A path attribute definition -
RELATIVE_TO
A relative-to attribute definition
-
-
Method Details
-
createResolvableSpecified
Creates a resource definition for a path resource that must have the path specified, but for which theread-resourcemanagement operation should support theresolve-expresssionsparameter.- Parameters:
pathManager- the path manager. Cannot benull- Returns:
- the resource definition
-
createSpecified
Creates a resource definition for a path resource that must have the path specified, but for which theread-resourcemanagement operation should not support theresolve-expresssionsparameter.- Parameters:
pathManager- the path manager. Cannot benull- Returns:
- the resource definition
-
createNamed
Creates a resource definition for a path resource that does not require that the path details be specified. Interaction with the path manager will not be part of the execution of management operations. Only for use by the kernel.- Returns:
- the resource definition
-
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. Only for use by the kernel.- Returns:
- the resource definition
-
registerOperations
Description copied from class:SimpleResourceDefinitionRegister operations associated with this resource. Registers an add operation handler or a remove operation handler if one was provided to the constructor.- Specified by:
registerOperationsin interfaceResourceDefinition- Overrides:
registerOperationsin classSimpleResourceDefinition- Parameters:
interfaces- aManagementResourceRegistrationcreated from this definition
-
registerAttributes
Description copied from interface:ResourceDefinitionRegister operations associated with this resource.- Specified by:
registerAttributesin interfaceResourceDefinition- Overrides:
registerAttributesin classSimpleResourceDefinition- Parameters:
resourceRegistration- aManagementResourceRegistrationcreated from this definition
-