public abstract class AbstractMuleObjectOwner<T> extends org.mule.runtime.api.meta.AbstractAnnotatedObject implements org.mule.runtime.api.lifecycle.Lifecycle, MuleContextAware, FlowConstructAware, MessagingExceptionHandlerAware
| Modifier and Type | Field and Description |
|---|---|
protected FlowConstruct |
flowConstruct |
protected MessagingExceptionHandler |
messagingExceptionHandler |
protected MuleContext |
muleContext |
| Constructor and Description |
|---|
AbstractMuleObjectOwner() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
FlowConstruct |
getFlowConstruct() |
MuleContext |
getMuleContext() |
protected abstract List<T> |
getOwnedObjects() |
void |
initialise() |
void |
setFlowConstruct(FlowConstruct flowConstruct) |
void |
setMessagingExceptionHandler(MessagingExceptionHandler messagingExceptionHandler) |
void |
setMuleContext(MuleContext muleContext) |
void |
start() |
void |
stop() |
@Inject protected MuleContext muleContext
protected FlowConstruct flowConstruct
protected MessagingExceptionHandler messagingExceptionHandler
public void setMuleContext(MuleContext muleContext)
setMuleContext in interface MuleContextAwaremuleContext - the Mule node.public void setFlowConstruct(FlowConstruct flowConstruct)
setFlowConstruct in interface FlowConstructAwarepublic void setMessagingExceptionHandler(MessagingExceptionHandler messagingExceptionHandler)
setMessagingExceptionHandler in interface MessagingExceptionHandlerAwarepublic MuleContext getMuleContext()
public FlowConstruct getFlowConstruct()
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic 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.MuleExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.