public abstract class AbstractMuleProcessController extends Object implements MuleProcessController
MuleProcessController.| Modifier and Type | Method and Description |
|---|---|
protected MuleServiceWrapper |
getMuleServiceWrapper() |
protected abstract int |
getPID() |
boolean |
isRunning() |
void |
start(String[] args)
Starts Mule Runtime.
|
void |
stop()
Stops Mule Runtime.
|
protected MuleServiceWrapper getMuleServiceWrapper()
public void start(String[] args) throws MuleProcessException
start in interface MuleProcessControllerargs - array of String arguments to be passed to Mule Runtime when started. They have to be in format
-M-DmySystemProperty=value
or
-Wwrapper.property=value
MuleProcessException - if there was an error while starting it.public boolean isRunning()
throws MuleProcessException
isRunning in interface MuleProcessControllertrue if Mule Runtime is up and running.MuleProcessException - if there was an error while checking the state.public void stop()
throws MuleProcessException
stop in interface MuleProcessControllerMuleProcessException - if there was an error while stopping it.Copyright © 2025 MuleSoft, Inc.. All rights reserved.