public abstract class AbstractAgent extends Object implements Agent, MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
protected MuleContext |
muleContext |
protected String |
name |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAgent(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
A description of the agent that gets displayed in the splash screen when the Mule Context starts up.
|
String |
getName() |
void |
setMuleContext(MuleContext context) |
void |
setName(String name) |
protected void |
unregisterMeQuietly()
Quietly unregister ourselves.
|
protected MuleContext muleContext
protected String name
protected AbstractAgent(String name)
public final String getName()
getName in interface org.mule.runtime.api.meta.NamedObjectpublic final void setName(String name)
setName in interface org.mule.runtime.api.meta.NameableObjectpublic String getDescription()
AgentgetDescription in interface Agentpublic void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarecontext - the Mule node.protected void unregisterMeQuietly()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.