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,ProvidedResourceDefinition,ResourceDefinition.MinimalResourceDefinition,ResourceRegistration.DefaultResourceRegistration,SimpleResourceDefinition
public interface ResourceRegistration extends Feature
Describes the registration of a resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResourceRegistration.DefaultResourceRegistration
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description PathElementgetPathElement()Returns the path element under which this resource is registered with its parent resource, ornullif this is the root resource.static ResourceRegistrationof(PathElement path)Creates a new resource registration for the specified path.static ResourceRegistrationof(PathElement path, Stability stability)Creates a new resource registration for the specified path and with the specified stability level.static ResourceRegistrationroot()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, ornullif this is the root resource.- Returns:
- the path element, or
nullif 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
-
-