Class SimpleChildResourceProvider
- java.lang.Object
-
- org.jboss.as.clustering.controller.SimpleChildResourceProvider
-
- All Implemented Interfaces:
ChildResourceProvider
public class SimpleChildResourceProvider extends Object implements ChildResourceProvider
A simpleChildResourceProvidercontaining a predefined set of children.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description SimpleChildResourceProvider(Set<String> children)SimpleChildResourceProvider(Set<String> children, Supplier<org.jboss.as.controller.registry.Resource> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.as.controller.registry.ResourcegetChild(String name)Returns a child resource with the specified name.Set<String>getChildren()Returns the complete set of child resource names.
-
-
-
Method Detail
-
getChild
public org.jboss.as.controller.registry.Resource getChild(String name)
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
public Set<String> getChildren()
Description copied from interface:ChildResourceProviderReturns the complete set of child resource names.- Specified by:
getChildrenin interfaceChildResourceProvider- Returns:
- a set of resource names
-
-