Interface DomainContainerController
-
- All Superinterfaces:
org.jboss.arquillian.container.test.api.ContainerController
- All Known Implementing Classes:
ClientDomainContainerController,InContainerDomainContainerController
public interface DomainContainerController extends org.jboss.arquillian.container.test.api.ContainerControllerA container controller for domains which allows hosts and server groups to be queried. If the container is in manual mode the hosts and server groups lifecycle can also be handled.Note that to access any hosts or server groups the container must be started.
- Author:
- James R. Perkins
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
reloadServers
void reloadServers(String containerQualifier, String groupName)
Reloads all the servers associated with this server group.- Parameters:
containerQualifier- the name of the containergroupName- the name of the server group
-
restartServers
void restartServers(String containerQualifier, String groupName)
Restarts all the servers associated with this server group.- Parameters:
containerQualifier- the name of the containergroupName- the name of the server group
-
resumeServers
void resumeServers(String containerQualifier, String groupName)
Resumes all the previously suspended servers associated with this server group.- Parameters:
containerQualifier- the name of the containergroupName- the name of the server group
-
startServers
void startServers(String containerQualifier, String groupName)
Starts all the servers associated with this server group.- Parameters:
containerQualifier- the name of the containergroupName- the name of the server group
-
stopServers
void stopServers(String containerQualifier, String groupName)
Stops all the servers associated with this server group.- Parameters:
containerQualifier- the name of the containergroupName- the name of the server group
-
suspendServers
void suspendServers(String containerQualifier, String groupName, int timeout)
Suspends all the servers associated with this server group.- 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
void startServer(String containerQualifier, String hostName, String serverName)
Starts the server.- Parameters:
containerQualifier- the name of the containerhostName- the name of the host the server is associated withserverName- the name of the server
-
stopServer
void stopServer(String containerQualifier, String hostName, String serverName)
Stops the server.- Parameters:
containerQualifier- the name of the containerhostName- the name of the host the server is associated withserverName- the name of the server
-
isServerStarted
boolean isServerStarted(String containerQualifier, String hostName, String serverName)
Checks the status of the server and returnstrueif the server is fully started.- 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
void restartServer(String containerQualifier, String hostName, String serverName)
Restarts the server.- Parameters:
containerQualifier- the name of the containerhostName- the name of the host the server is associated withserverName- the name of the server
-
resumeServer
void resumeServer(String containerQualifier, String hostName, String serverName)
Resumes this server after being suspended.- Parameters:
containerQualifier- the name of the containerhostName- the name of the host the server is associated withserverName- the name of the server
-
suspendServer
void suspendServer(String containerQualifier, String hostName, String serverName, int timeout)
Suspends this server.- 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
-
-