public interface EmbeddedManagedProcess
ModelControllerClient.| Modifier and Type | Method and Description |
|---|---|
boolean |
canQueryProcessState()
Check if the implementation of this interface is able to use getProcessState() to retrieve the current process state.
|
ModelControllerClient |
getModelControllerClient()
Gets the client that can be used to manage the embedded process.
|
String |
getProcessState()
Returns the current process state of this managed process.
|
void |
start()
Start the embedded process.
|
void |
stop()
Stop the embedded process.
|
ModelControllerClient getModelControllerClient()
null if the process is not startedvoid start()
throws EmbeddedProcessStartException
EmbeddedProcessStartExceptionvoid stop()
String getProcessState()
The returned value is a String representation of one of the possible ControlledProcessState.State values.
null if currently the process state is unknown.UnsupportedOperationException - if the requested operation is not supported by the implementation of this embedded server.boolean canQueryProcessState()
The implementation class could be an implementation comming from an older server version that does not support to check the process state directly.
Copyright © 2021 JBoss by Red Hat. All rights reserved.