public class SimpleChildResourceProvider extends Object implements ChildResourceProvider
ChildResourceProvider containing a predefined set of children.| Constructor and Description |
|---|
SimpleChildResourceProvider(Set<String> children) |
SimpleChildResourceProvider(Set<String> children,
Supplier<org.jboss.as.controller.registry.Resource> provider) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.as.controller.registry.Resource |
getChild(String name)
Returns a child resource with the specified name.
|
Set<String> |
getChildren()
Returns the complete set of child resource names.
|
public org.jboss.as.controller.registry.Resource getChild(String name)
ChildResourceProvidergetChild in interface ChildResourceProvidername - a resource namepublic Set<String> getChildren()
ChildResourceProvidergetChildren in interface ChildResourceProviderCopyright © 2021 JBoss by Red Hat. All rights reserved.