org.mule.impl.internal.admin
Class AbstractEventLoggerAgent
java.lang.Object
org.mule.impl.internal.admin.AbstractEventLoggerAgent
- All Implemented Interfaces:
- Disposable, Initialisable, Lifecycle, Startable, Stoppable, UMOAgent
- Direct Known Subclasses:
- EndpointAbstractEventLoggerAgent, Log4jAbstractEventLoggerAgent
- public abstract class AbstractEventLoggerAgent
- extends java.lang.Object
- implements UMOAgent
AbstractEventLoggerAgent
Receives Mule server events and logs them and can
optionally route them to an endpoint
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Ross Mason
Field Summary |
protected static Log |
eventLogger
|
protected static Log |
logger
logger used by this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static transient Log logger
- logger used by this class
eventLogger
protected static transient Log eventLogger
AbstractEventLoggerAgent
public AbstractEventLoggerAgent()
getName
public java.lang.String getName()
- Gets the name of this agent
- Specified by:
getName
in interface UMOAgent
- Returns:
- the agent name
setName
public void setName(java.lang.String name)
- Sets the name of this agent
- Specified by:
setName
in interface UMOAgent
- Parameters:
name
- the name of the agent
start
public void start()
throws UMOException
- Specified by:
start
in interface Startable
- Throws:
UMOException
stop
public void stop()
throws UMOException
- Specified by:
stop
in interface Stoppable
- Throws:
UMOException
dispose
public void dispose()
throws UMOException
- Specified by:
dispose
in interface Disposable
- Throws:
UMOException
registered
public void registered()
- Specified by:
registered
in interface UMOAgent
unregistered
public void unregistered()
- Specified by:
unregistered
in interface UMOAgent
isIgnoreManagerEvents
public boolean isIgnoreManagerEvents()
setIgnoreManagerEvents
public void setIgnoreManagerEvents(boolean ignoreManagerEvents)
isIgnoreModelEvents
public boolean isIgnoreModelEvents()
setIgnoreModelEvents
public void setIgnoreModelEvents(boolean ignoreModelEvents)
isIgnoreComponentEvents
public boolean isIgnoreComponentEvents()
setIgnoreComponentEvents
public void setIgnoreComponentEvents(boolean ignoreComponentEvents)
isIgnoreSecurityEvents
public boolean isIgnoreSecurityEvents()
setIgnoreSecurityEvents
public void setIgnoreSecurityEvents(boolean ignoreSecurityEvents)
isIgnoreManagementEvents
public boolean isIgnoreManagementEvents()
setIgnoreManagementEvents
public void setIgnoreManagementEvents(boolean ignoreManagementEvents)
isIgnoreCustomEvents
public boolean isIgnoreCustomEvents()
setIgnoreCustomEvents
public void setIgnoreCustomEvents(boolean ignoreCustomEvents)
isIgnoreAdminEvents
public boolean isIgnoreAdminEvents()
setIgnoreAdminEvents
public void setIgnoreAdminEvents(boolean ignoreAdminEvents)
initialise
public final void initialise()
throws InitialisationException
- Specified by:
initialise
in interface Initialisable
- Throws:
InitialisationException
doInitialise
protected abstract void doInitialise()
throws InitialisationException
- Throws:
InitialisationException
logEvent
protected abstract void logEvent(UMOServerEvent e)
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.