|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.impl.internal.admin.AbstractNotificationLoggerAgent
AbstractNotificationLoggerAgent Receives Mule server notifications
and logs them and can optionally route them to an endpoint
| Field Summary | |
protected Log |
logger
The logger used for this class |
| Constructor Summary | |
AbstractNotificationLoggerAgent()
|
|
| Method Summary | |
void |
dispose()
A lifecycle method where implementor should free up any resources. |
protected abstract void |
doInitialise()
|
String |
getName()
Gets the name of this agent |
void |
initialise()
Method used to perform any initialisation work. |
boolean |
isIgnoreAdminNotifications()
|
boolean |
isIgnoreComponentNotifications()
|
boolean |
isIgnoreConnectionNotifications()
|
boolean |
isIgnoreCustomNotifications()
|
boolean |
isIgnoreManagementNotifications()
|
boolean |
isIgnoreManagerNotifications()
|
boolean |
isIgnoreModelNotifications()
|
boolean |
isIgnoreSecurityNotifications()
|
protected abstract void |
logEvent(UMOServerNotification e)
|
void |
registered()
|
void |
setIgnoreAdminNotifications(boolean ignoreAdminNotifications)
|
void |
setIgnoreComponentNotifications(boolean ignoreComponentNotifications)
|
void |
setIgnoreConnectionNotifications(boolean ignoreConnectionNotifications)
|
void |
setIgnoreCustomNotifications(boolean ignoreCustomNotifications)
|
void |
setIgnoreManagementNotifications(boolean ignoreManagementNotifications)
|
void |
setIgnoreManagerNotifications(boolean ignoreManagerNotifications)
|
void |
setIgnoreModelNotifications(boolean ignoreModelNotifications)
|
void |
setIgnoreSecurityNotifications(boolean ignoreSecurityNotifications)
|
void |
setName(String name)
Sets the name of this agent |
void |
start()
|
void |
stop()
|
void |
unregistered()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mule.umo.manager.UMOAgent |
getDescription |
| Field Detail |
protected transient Log logger
| Constructor Detail |
public AbstractNotificationLoggerAgent()
| Method Detail |
public String getName()
getName in interface UMOAgentpublic void setName(String name)
setName in interface UMOAgentname - the name of the agent
public void start()
throws UMOException
start in interface StartableUMOException
public void stop()
throws UMOException
stop in interface StoppableUMOExceptionpublic void dispose()
Disposable
dispose in interface Disposablepublic void registered()
registered in interface UMOAgentpublic void unregistered()
unregistered in interface UMOAgentpublic boolean isIgnoreManagerNotifications()
public void setIgnoreManagerNotifications(boolean ignoreManagerNotifications)
public boolean isIgnoreModelNotifications()
public void setIgnoreModelNotifications(boolean ignoreModelNotifications)
public boolean isIgnoreComponentNotifications()
public void setIgnoreComponentNotifications(boolean ignoreComponentNotifications)
public boolean isIgnoreSecurityNotifications()
public void setIgnoreSecurityNotifications(boolean ignoreSecurityNotifications)
public boolean isIgnoreManagementNotifications()
public void setIgnoreManagementNotifications(boolean ignoreManagementNotifications)
public boolean isIgnoreCustomNotifications()
public void setIgnoreCustomNotifications(boolean ignoreCustomNotifications)
public boolean isIgnoreAdminNotifications()
public void setIgnoreAdminNotifications(boolean ignoreAdminNotifications)
public boolean isIgnoreConnectionNotifications()
public void setIgnoreConnectionNotifications(boolean ignoreConnectionNotifications)
public final void initialise()
throws InitialisationException
InitialisableInitialisationException should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.
initialise in interface InitialisableInitialisationException - if a fatal error occurs causing the Mule
instance to shutdown
protected abstract void doInitialise()
throws InitialisationException
InitialisationExceptionprotected abstract void logEvent(UMOServerNotification e)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||