Class InContainerDomainContainerController
- java.lang.Object
-
- org.jboss.arquillian.container.test.impl.client.container.ContainerContainerController
-
- org.wildfly.arquillian.domain.container.controller.InContainerDomainContainerController
-
- All Implemented Interfaces:
org.jboss.arquillian.container.test.api.ContainerController,DomainContainerController
public class InContainerDomainContainerController extends org.jboss.arquillian.container.test.impl.client.container.ContainerContainerController implements DomainContainerController
- Author:
- James R. Perkins
-
-
Constructor Summary
Constructors Constructor Description InContainerDomainContainerController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisServerStarted(String containerQualifier, String hostName, String serverName)Checks the status of the server and returnstrueif the server is fully started.voidreloadServers(String containerQualifier, String groupName)Reloads all the servers associated with this server group.voidrestartServer(String containerQualifier, String hostName, String serverName)Restarts the server.voidrestartServers(String containerQualifier, String groupName)Restarts all the servers associated with this server group.voidresumeServer(String containerQualifier, String hostName, String serverName)Resumes this server after being suspended.voidresumeServers(String containerQualifier, String groupName)Resumes all the previously suspended servers associated with this server group.voidstartServer(String containerQualifier, String hostName, String serverName)Starts the server.voidstartServers(String containerQualifier, String groupName)Starts all the servers associated with this server group.voidstopServer(String containerQualifier, String hostName, String serverName)Stops the server.voidstopServers(String containerQualifier, String groupName)Stops all the servers associated with this server group.voidsuspendServer(String containerQualifier, String hostName, String serverName, int timeout)Suspends this server.voidsuspendServers(String containerQualifier, String groupName, int timeout)Suspends all the servers associated with this server group.-
Methods inherited from class org.jboss.arquillian.container.test.impl.client.container.ContainerContainerController
getCommandService, isStarted, kill, start, start, stop
-
-
-
-
Method Detail
-
reloadServers
public void reloadServers(String containerQualifier, String groupName)
Description copied from interface:DomainContainerControllerReloads all the servers associated with this server group.- Specified by:
reloadServersin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containergroupName- the name of the server group
-
restartServers
public void restartServers(String containerQualifier, String groupName)
Description copied from interface:DomainContainerControllerRestarts all the servers associated with this server group.- Specified by:
restartServersin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containergroupName- the name of the server group
-
resumeServers
public void resumeServers(String containerQualifier, String groupName)
Description copied from interface:DomainContainerControllerResumes all the previously suspended servers associated with this server group.- Specified by:
resumeServersin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containergroupName- the name of the server group
-
startServers
public void startServers(String containerQualifier, String groupName)
Description copied from interface:DomainContainerControllerStarts all the servers associated with this server group.- Specified by:
startServersin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containergroupName- the name of the server group
-
stopServers
public void stopServers(String containerQualifier, String groupName)
Description copied from interface:DomainContainerControllerStops all the servers associated with this server group.- Specified by:
stopServersin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containergroupName- the name of the server group
-
suspendServers
public void suspendServers(String containerQualifier, String groupName, int timeout)
Description copied from interface:DomainContainerControllerSuspends all the servers associated with this server group.- Specified by:
suspendServersin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containergroupName- the name of the server grouptimeout- the timeout in seconds. A value of 0 returns immediately and a value of -1 will wait indefinitely
-
startServer
public void startServer(String containerQualifier, String hostName, String serverName)
Description copied from interface:DomainContainerControllerStarts the server.- Specified by:
startServerin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containerhostName- the name of the host the server is associated withserverName- the name of the server
-
stopServer
public void stopServer(String containerQualifier, String hostName, String serverName)
Description copied from interface:DomainContainerControllerStops the server.- Specified by:
stopServerin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containerhostName- the name of the host the server is associated withserverName- the name of the server
-
isServerStarted
public boolean isServerStarted(String containerQualifier, String hostName, String serverName)
Description copied from interface:DomainContainerControllerChecks the status of the server and returnstrueif the server is fully started.- Specified by:
isServerStartedin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containerhostName- the name of the host the server is associated withserverName- the name of the server- Returns:
trueif the server is fully started, otherwisefalse
-
restartServer
public void restartServer(String containerQualifier, String hostName, String serverName)
Description copied from interface:DomainContainerControllerRestarts the server.- Specified by:
restartServerin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containerhostName- the name of the host the server is associated withserverName- the name of the server
-
resumeServer
public void resumeServer(String containerQualifier, String hostName, String serverName)
Description copied from interface:DomainContainerControllerResumes this server after being suspended.- Specified by:
resumeServerin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containerhostName- the name of the host the server is associated withserverName- the name of the server
-
suspendServer
public void suspendServer(String containerQualifier, String hostName, String serverName, int timeout)
Description copied from interface:DomainContainerControllerSuspends this server.- Specified by:
suspendServerin interfaceDomainContainerController- Parameters:
containerQualifier- the name of the containerhostName- the name of the host the server is associated withserverName- the name of the servertimeout- the timeout for the suspend
-
-