Package org.jboss.as.controller
Interface ResourceRegistration
-
- All Superinterfaces:
Feature
- All Known Subinterfaces:
ResourceDefinition
- All Known Implementing Classes:
AbstractSocketBindingGroupResourceDefinition
,AbstractSocketBindingResourceDefinition
,BaseHttpInterfaceResourceDefinition
,BaseNativeInterfaceResourceDefinition
,DelegatingResourceDefinition
,ExtensionResourceDefinition
,ExtensionSubsystemResourceDefinition
,InterfaceDefinition
,LegacyResourceDefinition
,ModelOnlyResourceDefinition
,PathResourceDefinition
,PersistentResourceDefinition
,ResourceDefinition.MinimalResourceDefinition
,SimpleResourceDefinition
public interface ResourceRegistration extends Feature
Describes the registration of a resource.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description PathElement
getPathElement()
Returns the path element under which this resource is registered with its parent resource, ornull
if this is the root resource.static ResourceRegistration
of(PathElement path)
Creates a new resource registration for the specified path.static ResourceRegistration
of(PathElement path, Stability stability)
Creates a new resource registration for the specified path and with the specified stability level.static ResourceRegistration
root()
Creates a new root resource registration-
Methods inherited from interface org.jboss.as.controller.Feature
getStability
-
-
-
-
Method Detail
-
getPathElement
PathElement getPathElement()
Returns the path element under which this resource is registered with its parent resource, ornull
if this is the root resource.- Returns:
- the path element, or
null
if this is the root resource.
-
root
static ResourceRegistration root()
Creates a new root resource registration- Returns:
- a resource registration
-
of
static ResourceRegistration of(PathElement path)
Creates a new resource registration for the specified path.- Parameters:
path
- a path element- Returns:
- a resource registration
-
of
static ResourceRegistration of(PathElement path, Stability stability)
Creates a new resource registration for the specified path and with the specified stability level.- Parameters:
path
- a path elementstability
- a stability level- Returns:
- a resource registration
-
-