Package org.wildfly.core.embedded
Class EmbeddedServerReference
- java.lang.Object
-
- org.wildfly.core.embedded.EmbeddedServerReference
-
- All Implemented Interfaces:
EmbeddedManagedProcess,HostController,StandaloneServer
@Deprecated public final class EmbeddedServerReference extends Object implements StandaloneServer, HostController
Deprecated.use theEmbeddedManagedProcess,StandaloneServerorHostControllerinterface and not this implementation classImplements bothStandaloneServerandHostController.- Author:
- Andrew Lee Rubinger, Thomas.Diesler@jboss.com
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancanQueryProcessState()Deprecated.Check if the implementation of this interface is able to use getProcessState() to retrieve the current process state.HostControllergetHostController()Deprecated.ModelControllerClientgetModelControllerClient()Deprecated.Gets the client that can be used to manage the embedded process.StringgetProcessState()Deprecated.Returns the current process state of this managed process.StandaloneServergetStandaloneServer()Deprecated.booleanisHostController()Deprecated.voidstart()Deprecated.Start the embedded process.voidstop()Deprecated.Stop the embedded process.
-
-
-
Method Detail
-
start
public void start()
Deprecated.Description copied from interface:EmbeddedManagedProcessStart the embedded process.- Specified by:
startin interfaceEmbeddedManagedProcess
-
stop
public void stop()
Deprecated.Description copied from interface:EmbeddedManagedProcessStop the embedded process.- Specified by:
stopin interfaceEmbeddedManagedProcess
-
getProcessState
public String getProcessState()
Deprecated.Description copied from interface:EmbeddedManagedProcessReturns the current process state of this managed process.The returned value is a String representation of one of the possible
ControlledProcessState.Statevalues.- Specified by:
getProcessStatein interfaceEmbeddedManagedProcess- Returns:
- The current process state, or
nullif currently the process state is unknown.
-
canQueryProcessState
public boolean canQueryProcessState()
Deprecated.Description copied from interface:EmbeddedManagedProcessCheck if the implementation of this interface is able to use getProcessState() to retrieve the current process state.The implementation class could be an implementation comming from an older server version that does not support to check the process state directly.
- Specified by:
canQueryProcessStatein interfaceEmbeddedManagedProcess- Returns:
- Whether the implementation supports to query for the process state.
-
getModelControllerClient
public ModelControllerClient getModelControllerClient()
Deprecated.Description copied from interface:EmbeddedManagedProcessGets the client that can be used to manage the embedded process.- Specified by:
getModelControllerClientin interfaceEmbeddedManagedProcess- Returns:
- the client, or
nullif the process is not started
-
getStandaloneServer
public StandaloneServer getStandaloneServer()
Deprecated.
-
getHostController
public HostController getHostController()
Deprecated.
-
isHostController
public boolean isHostController()
Deprecated.
-
-