public abstract class AbstractAgent extends Object implements Agent, MuleContextAware
Modifier and Type | Field and Description |
---|---|
protected MuleContext |
muleContext |
protected String |
name |
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_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, wait
initialise
dispose
protected MuleContext muleContext
protected String name
protected AbstractAgent(String name)
public final String getName()
NamedObject
getName
in interface NamedObject
public final void setName(String name)
NameableObject
setName
in interface NameableObject
name
- the name of the objectpublic String getDescription()
Agent
getDescription
in interface Agent
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
protected void unregisterMeQuietly()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.