EmbeddedManagedProcess, StandaloneServer or HostController interface
and not this implementation class@Deprecated public final class EmbeddedServerReference extends Object implements StandaloneServer, HostController
StandaloneServer and HostController.| Modifier and Type | Method and Description |
|---|---|
boolean |
canQueryProcessState()
Deprecated.
Check if the implementation of this interface is able to use getProcessState() to retrieve the current process state.
|
HostController |
getHostController()
Deprecated.
|
ModelControllerClient |
getModelControllerClient()
Deprecated.
Gets the client that can be used to manage the embedded process.
|
String |
getProcessState()
Deprecated.
Returns the current process state of this managed process.
|
StandaloneServer |
getStandaloneServer()
Deprecated.
|
boolean |
isHostController()
Deprecated.
|
void |
start()
Deprecated.
Start the embedded process.
|
void |
stop()
Deprecated.
Stop the embedded process.
|
public void start()
EmbeddedManagedProcessstart in interface EmbeddedManagedProcesspublic void stop()
EmbeddedManagedProcessstop in interface EmbeddedManagedProcesspublic String getProcessState()
EmbeddedManagedProcess
The returned value is a String representation of one of the possible ControlledProcessState.State values.
getProcessState in interface EmbeddedManagedProcessnull if currently the process state is unknown.public boolean canQueryProcessState()
EmbeddedManagedProcessThe implementation class could be an implementation comming from an older server version that does not support to check the process state directly.
canQueryProcessState in interface EmbeddedManagedProcesspublic ModelControllerClient getModelControllerClient()
EmbeddedManagedProcessgetModelControllerClient in interface EmbeddedManagedProcessnull if the process is not startedpublic StandaloneServer getStandaloneServer()
public HostController getHostController()
public boolean isHostController()
Copyright © 2021 JBoss by Red Hat. All rights reserved.