public class SimpleMulePlugin extends Object implements MulePlugin
MulePlugin implementation to extend from when creating a new plugin.| Constructor and Description |
|---|
SimpleMulePlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
initialise() |
boolean |
isDisabledOnEnvironment()
Indicates when a plugin is disabled in the current execution environment to avoid being started.
|
void |
setWorkingDirectory(File directory)
Sets working directory for the plugin
|
void |
start() |
void |
stop() |
protected File directory
public void setWorkingDirectory(File directory)
MulePluginsetWorkingDirectory in interface MulePlugindirectory - working directory no shared with other plugins. Not Null.public void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionpublic boolean isDisabledOnEnvironment()
MulePluginisDisabledOnEnvironment in interface MulePluginCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.