public abstract class AbstractAgent extends Object implements Agent, MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
protected MuleContext |
muleContext |
protected String |
name |
PHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_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()
Gets the name of the object
|
void |
setMuleContext(MuleContext context) |
void |
setName(String name)
Sets the name of the object
|
protected void |
unregisterMeQuietly()
Quietly unregister ourselves.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialisedisposeprotected MuleContext muleContext
protected String name
protected AbstractAgent(String name)
public final String getName()
NamedObjectgetName in interface NamedObjectpublic final void setName(String name)
NameableObjectsetName in interface NameableObjectname - the name of the objectpublic String getDescription()
AgentgetDescription in interface Agentpublic void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwareprotected void unregisterMeQuietly()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.