|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.impl.internal.admin.AbstractEventLoggerAgent
AbstractEventLoggerAgent
Receives Mule server events and logs them and can
optionally route them to an endpoint
Field Summary | |
protected static Log |
eventLogger
|
protected static Log |
logger
logger used by this class |
Constructor Summary | |
AbstractEventLoggerAgent()
|
Method Summary | |
void |
dispose()
A lifecycle method where implementor should fee up any resources If an exception is thrown it should just be logged and processing should continue. |
protected abstract void |
doInitialise()
|
java.lang.String |
getName()
Gets the name of this agent |
void |
initialise()
Method used to perform any initialisation work. |
boolean |
isIgnoreAdminEvents()
|
boolean |
isIgnoreComponentEvents()
|
boolean |
isIgnoreCustomEvents()
|
boolean |
isIgnoreManagementEvents()
|
boolean |
isIgnoreManagerEvents()
|
boolean |
isIgnoreModelEvents()
|
boolean |
isIgnoreSecurityEvents()
|
protected abstract void |
logEvent(UMOServerEvent e)
|
void |
registered()
|
void |
setIgnoreAdminEvents(boolean ignoreAdminEvents)
|
void |
setIgnoreComponentEvents(boolean ignoreComponentEvents)
|
void |
setIgnoreCustomEvents(boolean ignoreCustomEvents)
|
void |
setIgnoreManagementEvents(boolean ignoreManagementEvents)
|
void |
setIgnoreManagerEvents(boolean ignoreManagerEvents)
|
void |
setIgnoreModelEvents(boolean ignoreModelEvents)
|
void |
setIgnoreSecurityEvents(boolean ignoreSecurityEvents)
|
void |
setName(java.lang.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 static transient Log logger
protected static transient Log eventLogger
Constructor Detail |
public AbstractEventLoggerAgent()
Method Detail |
public java.lang.String getName()
getName
in interface UMOAgent
public void setName(java.lang.String name)
setName
in interface UMOAgent
name
- the name of the agentpublic void start() throws UMOException
start
in interface Startable
UMOException
public void stop() throws UMOException
stop
in interface Stoppable
UMOException
public void dispose()
Disposable
dispose
in interface Disposable
public void registered()
registered
in interface UMOAgent
public void unregistered()
unregistered
in interface UMOAgent
public boolean isIgnoreManagerEvents()
public void setIgnoreManagerEvents(boolean ignoreManagerEvents)
public boolean isIgnoreModelEvents()
public void setIgnoreModelEvents(boolean ignoreModelEvents)
public boolean isIgnoreComponentEvents()
public void setIgnoreComponentEvents(boolean ignoreComponentEvents)
public boolean isIgnoreSecurityEvents()
public void setIgnoreSecurityEvents(boolean ignoreSecurityEvents)
public boolean isIgnoreManagementEvents()
public void setIgnoreManagementEvents(boolean ignoreManagementEvents)
public boolean isIgnoreCustomEvents()
public void setIgnoreCustomEvents(boolean ignoreCustomEvents)
public boolean isIgnoreAdminEvents()
public void setIgnoreAdminEvents(boolean ignoreAdminEvents)
public final void initialise() throws InitialisationException
Initialisable
InitialisationException
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 Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to
shutdownprotected abstract void doInitialise() throws InitialisationException
InitialisationException
protected abstract void logEvent(UMOServerEvent e)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |