public interface DomainContainerController
extends org.jboss.arquillian.container.test.api.ContainerController
Note that to access any hosts or server groups the container must be started.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isServerStarted(String containerQualifier,
String hostName,
String serverName)
Checks the status of the server and returns
true if the server is fully started. |
void |
reloadServers(String containerQualifier,
String groupName)
Reloads all the servers associated with this server group.
|
void |
restartServer(String containerQualifier,
String hostName,
String serverName)
Restarts the server.
|
void |
restartServers(String containerQualifier,
String groupName)
Restarts all the servers associated with this server group.
|
void |
resumeServer(String containerQualifier,
String hostName,
String serverName)
Resumes this server after being suspended.
|
void |
resumeServers(String containerQualifier,
String groupName)
Resumes all the previously suspended servers associated with this server group.
|
void |
startServer(String containerQualifier,
String hostName,
String serverName)
Starts the server.
|
void |
startServers(String containerQualifier,
String groupName)
Starts all the servers associated with this server group.
|
void |
stopServer(String containerQualifier,
String hostName,
String serverName)
Stops the server.
|
void |
stopServers(String containerQualifier,
String groupName)
Stops all the servers associated with this server group.
|
void |
suspendServer(String containerQualifier,
String hostName,
String serverName,
int timeout)
Suspends this server.
|
void |
suspendServers(String containerQualifier,
String groupName,
int timeout)
Suspends all the servers associated with this server group.
|
void reloadServers(String containerQualifier, String groupName)
containerQualifier - the name of the containergroupName - the name of the server groupvoid restartServers(String containerQualifier, String groupName)
containerQualifier - the name of the containergroupName - the name of the server groupvoid resumeServers(String containerQualifier, String groupName)
containerQualifier - the name of the containergroupName - the name of the server groupvoid startServers(String containerQualifier, String groupName)
containerQualifier - the name of the containergroupName - the name of the server groupvoid stopServers(String containerQualifier, String groupName)
containerQualifier - the name of the containergroupName - the name of the server groupvoid suspendServers(String containerQualifier, String groupName, int timeout)
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 indefinitelyvoid startServer(String containerQualifier, String hostName, String serverName)
containerQualifier - the name of the containerhostName - the name of the host the server is associated withserverName - the name of the servervoid stopServer(String containerQualifier, String hostName, String serverName)
containerQualifier - the name of the containerhostName - the name of the host the server is associated withserverName - the name of the serverboolean isServerStarted(String containerQualifier, String hostName, String serverName)
true if the server is fully started.containerQualifier - the name of the containerhostName - the name of the host the server is associated withserverName - the name of the servertrue if the server is fully started, otherwise falsevoid restartServer(String containerQualifier, String hostName, String serverName)
containerQualifier - the name of the containerhostName - the name of the host the server is associated withserverName - the name of the servervoid resumeServer(String containerQualifier, String hostName, String serverName)
containerQualifier - the name of the containerhostName - the name of the host the server is associated withserverName - the name of the servervoid suspendServer(String containerQualifier, String hostName, String serverName, int timeout)
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 suspendCopyright © 2018 JBoss by Red Hat. All rights reserved.