Class CapabilityScope.Factory
- java.lang.Object
-
- org.jboss.as.controller.capability.registry.CapabilityScope.Factory
-
- Enclosing interface:
- CapabilityScope
public static class CapabilityScope.Factory extends Object
Factory for creating aCapabilityScope
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CapabilityScope
create(ProcessType processType, PathAddress address)
Create aCapabilityScope
appropriate for the given process type and addressstatic CapabilityScope
forName(String name)
Get capability scope for its name
-
-
-
Method Detail
-
create
public static CapabilityScope create(ProcessType processType, PathAddress address)
Create aCapabilityScope
appropriate for the given process type and address- Parameters:
processType
- the type of process in which theCapabilityScope
existsaddress
- the address with which theCapabilityScope
is associated
-
forName
public static CapabilityScope forName(String name)
Get capability scope for its name- Parameters:
name
- of the scope- Returns:
- capability scope for given name
-
-