protected abstract static class AbstractManageableResource.Factory<T extends ManageableResource,P extends ManageableResource> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected P |
parentResource |
protected org.jboss.as.controller.PathAddress |
pathAddressBase |
protected String |
pathElementKey |
protected ManageableResourceType |
resourceType |
protected ManageableServerConfiguration |
serverConfiguration |
| Constructor and Description |
|---|
Factory(ManageableResourceType resourceType,
org.jboss.as.controller.PathAddress pathAddressBase,
String pathElementKey,
P parentResource) |
| Modifier and Type | Method and Description |
|---|---|
T |
getResource(String resourceName) |
Set<String> |
getResourceNames() |
org.jboss.as.controller.PathAddress |
getResourcePathAddress(String resourceName) |
List<T> |
getResources() |
ManageableResourceType |
getResourceType() |
boolean |
hasResource(String resourceName) |
protected abstract T |
newResourceInstance(String resourceName) |
void |
removeResource(String resourceName) |
String |
toString() |
protected final P extends ManageableResource parentResource
protected final ManageableServerConfiguration serverConfiguration
protected final org.jboss.as.controller.PathAddress pathAddressBase
protected final String pathElementKey
protected final ManageableResourceType resourceType
public Factory(ManageableResourceType resourceType, org.jboss.as.controller.PathAddress pathAddressBase, String pathElementKey, P parentResource)
public org.jboss.as.controller.PathAddress getResourcePathAddress(String resourceName)
public boolean hasResource(String resourceName)
public void removeResource(String resourceName)
public ManageableResourceType getResourceType()
Copyright © 2017 JBoss by Red Hat. All rights reserved.