Class SimpleChildResourceProvider
java.lang.Object
org.jboss.as.clustering.controller.SimpleChildResourceProvider
- All Implemented Interfaces:
ChildResourceProvider
A simple
ChildResourceProvider containing a predefined set of children.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleChildResourceProvider(Set<String> children) SimpleChildResourceProvider(Set<String> children, Supplier<org.jboss.as.controller.registry.Resource> provider) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.as.controller.registry.ResourceReturns a child resource with the specified name.Returns the complete set of child resource names.
-
Constructor Details
-
SimpleChildResourceProvider
-
SimpleChildResourceProvider
-
-
Method Details
-
getChild
Description copied from interface:ChildResourceProviderReturns a child resource with the specified name.- Specified by:
getChildin interfaceChildResourceProvider- Parameters:
name- a resource name- Returns:
- a resource
-
getChildren
Description copied from interface:ChildResourceProviderReturns the complete set of child resource names.- Specified by:
getChildrenin interfaceChildResourceProvider- Returns:
- a set of resource names
-