Class AbstractManageableResource.Factory<T extends ManageableResource,P extends ManageableResource>
- java.lang.Object
-
- org.jboss.migration.wfly10.config.management.impl.AbstractManageableResource.Factory<T,P>
-
- Direct Known Subclasses:
DeploymentOverlayResourceImpl.Factory,DeploymentResourceImpl.Factory,ExtensionResourceImpl.Factory,HostExcludeResourceImpl.Factory,HostResourceImpl.Factory,InterfaceResourceImpl.Factory,JvmResourceImpl.Factory,ManagementInterfaceResourceImpl.Factory,PathResourceImpl.Factory,ProfileResourceImpl.Factory,SecurityRealmResourceImpl.Factory,ServerGroupResourceImpl.Factory,SocketBindingGroupResourceImpl.Factory,SocketBindingResourceImpl.Factory,SubsystemResourceImpl.Factory,SystemPropertyResourceImpl.Factory
- Enclosing class:
- AbstractManageableResource<P extends ManageableResource>
protected abstract static class AbstractManageableResource.Factory<T extends ManageableResource,P extends ManageableResource> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected PparentResourceprotected org.jboss.as.controller.PathAddresspathAddressBaseprotected StringpathElementKeyprotected ManageableResourceTyperesourceTypeprotected ManageableServerConfigurationserverConfiguration
-
Constructor Summary
Constructors Constructor Description Factory(ManageableResourceType resourceType, org.jboss.as.controller.PathAddress pathAddressBase, String pathElementKey, P parentResource)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TgetResource(String resourceName)Set<String>getResourceNames()org.jboss.as.controller.PathAddressgetResourcePathAddress(String resourceName)List<T>getResources()ManageableResourceTypegetResourceType()booleanhasResource(String resourceName)protected abstract TnewResourceInstance(String resourceName)voidremoveResource(String resourceName)StringtoString()
-
-
-
Field Detail
-
parentResource
protected final P extends ManageableResource parentResource
-
serverConfiguration
protected final ManageableServerConfiguration serverConfiguration
-
pathAddressBase
protected final org.jboss.as.controller.PathAddress pathAddressBase
-
pathElementKey
protected final String pathElementKey
-
resourceType
protected final ManageableResourceType resourceType
-
-
Constructor Detail
-
Factory
public Factory(ManageableResourceType resourceType, org.jboss.as.controller.PathAddress pathAddressBase, String pathElementKey, P parentResource)
-
-
Method Detail
-
getResourcePathAddress
public org.jboss.as.controller.PathAddress getResourcePathAddress(String resourceName)
-
hasResource
public boolean hasResource(String resourceName)
-
removeResource
public void removeResource(String resourceName)
-
getResourceType
public ManageableResourceType getResourceType()
-
-