Class DomainServerProcess
java.lang.Object
org.wildfly.qa.tooling.processexecution.ServerProcess
org.wildfly.qa.tooling.processexecution.DomainServerProcess
Abstraction over server domain process - starting the process, executing a runnable in the right moment and destroying it.
-
Nested Class Summary
Nested classes/interfaces inherited from class ServerProcess
ServerProcess.ServerRunnable -
Constructor Summary
ConstructorsConstructorDescriptionDomainServerProcess(org.apache.commons.exec.CommandLine startScript, long timeout, TimeUnit timeUnit, int port, String domainHostName) Create a new instance of server process. -
Method Summary
Methods inherited from class ServerProcess
runAfterDeploymentCompletedAndDestroyProcess, runAfterServerStartedAndDestroyProcess, runWhenClientConnectsAndDestroyProcess
-
Constructor Details
-
DomainServerProcess
public DomainServerProcess(org.apache.commons.exec.CommandLine startScript, long timeout, TimeUnit timeUnit, int port, String domainHostName) Create a new instance of server process. Instantiating won't create the server process.- Parameters:
startScript- start script command linetimeout- the maximum time to waittimeUnit- the time unit of the timeout parameterport- connection port for management clientdomainHostName- domain host name
-