Interface EmbeddedManagedProcess

    • Method Detail

      • getModelControllerClient

        ModelControllerClient getModelControllerClient()
        Gets the client that can be used to manage the embedded process.
        Returns:
        the client, or null if the process is not started
      • stop

        void stop()
        Stop the embedded process.
      • getProcessState

        String getProcessState()
        Returns the current process state of this managed process.

        The returned value is a String representation of one of the possible ControlledProcessState.State values.

        Returns:
        The current process state, or null if currently the process state is unknown.
        Throws:
        UnsupportedOperationException - if the requested operation is not supported by the implementation of this embedded server.
      • canQueryProcessState

        boolean canQueryProcessState()
        Check if the implementation of this interface is able to use getProcessState() to retrieve the current process state.

        The implementation class could be an implementation coming from an older server version that does not support checking the process state directly.

        Returns:
        Whether the implementation supports querying for the process state.