Package org.jboss.as.controller.registry
Class Resource.Factory
- java.lang.Object
-
- org.jboss.as.controller.registry.Resource.Factory
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Resource
create()
Create a default resource implementation.static Resource
create(boolean runtimeOnly)
Create a default resource implementation.static Resource
create(boolean runtimeOnly, Set<String> orderedChildTypes)
Create a default resource implementation.
-
-
-
Method Detail
-
create
public static Resource create()
Create a default resource implementation. Equivalent tocreate(false)
.- Returns:
- the resource
-
create
public static Resource create(boolean runtimeOnly)
Create a default resource implementation.- Parameters:
runtimeOnly
- the value the resource should return fromResource.isRuntime()
- Returns:
- the resource
-
create
public static Resource create(boolean runtimeOnly, Set<String> orderedChildTypes)
Create a default resource implementation.- Parameters:
runtimeOnly
- the value the resource should return fromResource.isRuntime()
orderedChildTypes
- the names of any child types where the order of the children matters- Returns:
- the resource
-
-