Class AbstractManageableServerConfiguration
- java.lang.Object
-
- org.jboss.migration.wfly10.config.management.impl.AbstractManageableResource
-
- org.jboss.migration.wfly10.config.management.impl.AbstractManageableServerConfiguration
-
- All Implemented Interfaces:
org.jboss.migration.core.jboss.AbsolutePathResolver,ExtensionResource.Parent,InterfaceResource.Parent,ManageableResource,ManageableServerConfiguration,PathResource.Parent,SocketBindingGroupResource.Parent,SystemPropertyResource.Parent
- Direct Known Subclasses:
EmbeddedHostConfiguration,EmbeddedHostControllerConfiguration,EmbeddedStandaloneServerConfiguration
public abstract class AbstractManageableServerConfiguration extends AbstractManageableResource implements ManageableServerConfiguration
- Author:
- emmartins
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.migration.wfly10.config.management.impl.AbstractManageableResource
AbstractManageableResource.Factory<T extends ManageableResource,P extends ManageableResource>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractManageableServerConfiguration(String resourceName, org.jboss.as.controller.PathAddress pathAddress, org.jboss.migration.core.jboss.JBossServerConfiguration configurationPath, WildFlyServer10 server)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.jboss.dmr.ModelNodeexecuteManagementOperation(org.jboss.dmr.ModelNode operation)org.jboss.migration.core.jboss.JBossServerConfigurationgetConfigurationPath()org.jboss.as.controller.client.ModelControllerClientgetModelControllerClient()WildFlyServer10getServer()booleanisStarted()protected voidprocessResult(org.jboss.dmr.ModelNode result)PathresolvePath(String pathName)voidstart()protected abstract org.jboss.as.controller.client.ModelControllerClientstartConfiguration()voidstop()protected abstract voidstopConfiguration()protected voidwriteConfiguration()-
Methods inherited from class org.jboss.migration.wfly10.config.management.impl.AbstractManageableResource
addChildResourceFactory, equals, findResources, findResources, findResources, findResources, getChildResource, getChildResourceFactories, getChildResourceFactory, getChildResourceNames, getChildResourcePathAddress, getChildResources, getChildResources, getChildResources, getChildResourceTypes, getDescendantResourceFactories, getDescendantResourceFactories, getParentResource, getResourceConfiguration, getResourceName, getResourcePathAddress, getServerConfiguration, hashCode, removeChildResource, removeResource, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.migration.wfly10.config.management.ExtensionResource.Parent
getExtensionResource, getExtensionResourceAbsoluteName, getExtensionResourceConfiguration, getExtensionResourceNames, getExtensionResourcePathAddress, getExtensionResources, hasExtensionResource, removeExtensionResource
-
Methods inherited from interface org.jboss.migration.wfly10.config.management.InterfaceResource.Parent
getInterfaceResource, getInterfaceResourceAbsoluteName, getInterfaceResourceConfiguration, getInterfaceResourceNames, getInterfaceResourcePathAddress, getInterfaceResources, hasInterfaceResource, removeInterfaceResource
-
Methods inherited from interface org.jboss.migration.wfly10.config.management.ManageableResource
findResources, findResources, findResources, findResources, getChildResource, getChildResourceAbsoluteName, getChildResourceConfiguration, getChildResourceNames, getChildResourcePathAddress, getChildResources, getChildResources, getChildResources, getChildResourceTypes, getParentResource, getResourceAbsoluteName, getResourceConfiguration, getResourceName, getResourcePathAddress, getResourceType, getServerConfiguration, hasChildResource, isExistentResource, removeChildResource, removeResource
-
Methods inherited from interface org.jboss.migration.wfly10.config.management.ManageableServerConfiguration
getConfigurationType, resolveNamedPath, resolvePath
-
Methods inherited from interface org.jboss.migration.wfly10.config.management.PathResource.Parent
getPathResource, getPathResourceAbsoluteName, getPathResourceConfiguration, getPathResourceNames, getPathResourcePathAddress, getPathResources, hasPathResource, removePathResource
-
Methods inherited from interface org.jboss.migration.wfly10.config.management.SocketBindingGroupResource.Parent
getSocketBindingGroupResource, getSocketBindingGroupResourceAbsoluteName, getSocketBindingGroupResourceConfiguration, getSocketBindingGroupResourceNames, getSocketBindingGroupResourcePathAddress, getSocketBindingGroupResources, hasSocketBindingGroupResource, removeSocketBindingGroupResource
-
Methods inherited from interface org.jboss.migration.wfly10.config.management.SystemPropertyResource.Parent
getSystemPropertyResource, getSystemPropertyResourceAbsoluteName, getSystemPropertyResourceConfiguration, getSystemPropertyResourceNames, getSystemPropertyResourcePathAddress, getSystemPropertyResources, hasSystemPropertyResource, removeSystemPropertyResource
-
-
-
-
Constructor Detail
-
AbstractManageableServerConfiguration
protected AbstractManageableServerConfiguration(String resourceName, org.jboss.as.controller.PathAddress pathAddress, org.jboss.migration.core.jboss.JBossServerConfiguration configurationPath, WildFlyServer10 server)
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceManageableServerConfiguration
-
startConfiguration
protected abstract org.jboss.as.controller.client.ModelControllerClient startConfiguration()
-
stop
public void stop()
- Specified by:
stopin interfaceManageableServerConfiguration
-
stopConfiguration
protected abstract void stopConfiguration()
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceManageableServerConfiguration
-
getConfigurationPath
public org.jboss.migration.core.jboss.JBossServerConfiguration getConfigurationPath()
- Specified by:
getConfigurationPathin interfaceManageableServerConfiguration
-
getServer
public WildFlyServer10 getServer()
- Specified by:
getServerin interfaceManageableServerConfiguration
-
processResult
protected void processResult(org.jboss.dmr.ModelNode result) throws ManagementOperationException- Throws:
ManagementOperationException
-
executeManagementOperation
public org.jboss.dmr.ModelNode executeManagementOperation(org.jboss.dmr.ModelNode operation) throws ManagementOperationException- Specified by:
executeManagementOperationin interfaceManageableServerConfiguration- Throws:
ManagementOperationException
-
resolvePath
public Path resolvePath(String pathName) throws ManagementOperationException
- Specified by:
resolvePathin interfaceorg.jboss.migration.core.jboss.AbsolutePathResolver- Specified by:
resolvePathin interfaceManageableServerConfiguration- Throws:
ManagementOperationException
-
getModelControllerClient
public org.jboss.as.controller.client.ModelControllerClient getModelControllerClient()
- Specified by:
getModelControllerClientin interfaceManageableServerConfiguration
-
writeConfiguration
protected void writeConfiguration()
-
-