Package org.jboss.as.controller
Interface ResourceRegistration
- All Superinterfaces:
Feature
- All Known Subinterfaces:
NamedResourceRegistrationXMLElement,ResourceDefinition,ResourceRegistrationXMLElement,SingletonResourceRegistrationXMLElement,SubsystemResourceRegistration,SubsystemResourceRegistrationXMLElement
- All Known Implementing Classes:
AbstractSocketBindingGroupResourceDefinition,AbstractSocketBindingResourceDefinition,BaseHttpInterfaceResourceDefinition,BaseNativeInterfaceResourceDefinition,DelegatingResourceDefinition,ExtensionResourceDefinition,ExtensionSubsystemResourceDefinition,InterfaceDefinition,LegacyResourceDefinition,ModelOnlyResourceDefinition,NamedResourceRegistrationXMLElement.DefaultNamedResourceRegistrationXMLElement,PathResourceDefinition,PersistentResourceDefinition,ProvidedResourceDefinition,ResourceDefinition.MinimalResourceDefinition,ResourceRegistration.DefaultResourceRegistration,ResourceRegistrationXMLElement.DefaultResourceRegistrationXMLElement,SimpleResourceDefinition,SingletonResourceRegistrationXMLElement.DefaultSingletonResourceRegistrationXMLElement,SubsystemResourceRegistration.DefaultSubsystemResourceRegistration,SubsystemResourceRegistrationXMLElement.DefaultSubsystemResourceRegistrationXMLElement
Describes the registration of a resource.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionReturns 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 registrationMethods inherited from interface org.jboss.as.controller.Feature
getStability
-
Method Details
-
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
Creates a new root resource registration- Returns:
- a resource registration
-
of
Creates a new resource registration for the specified path.- Parameters:
path- a path element- Returns:
- a resource registration
-
of
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
-