|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.component.audit.Auditor
public class Auditor
This class listen to every event comming from its audited bean.
Constructor Summary | |
---|---|
Auditor(String filter,
JMXNotifier jmxNotifier,
InvocationAuditReportFactory invocationAuditReportFactory)
The constructor of the auditor. |
Method Summary | |
---|---|
boolean |
accept(org.ow2.util.event.api.IEvent event)
Check whether the listener wants to handle this event. |
String |
getEventProviderFilter()
Get the event provider filter. The event provider filter is a regular expression that define which event provider the listener needs to listen. |
org.ow2.util.auditreport.impl.LifeCycleAuditReport |
getLifeCycleAuditReport(EZBEventLifeCycle event,
String beanName,
org.ow2.util.auditreport.impl.LifeCycleAuditReport.STEP step,
Thread current)
This method return a new lifecycle audit report. |
org.ow2.util.event.api.EventPriority |
getPriority()
Get the listener priority. |
void |
handle(org.ow2.util.event.api.IEvent event)
The handle method of the listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Auditor(String filter, JMXNotifier jmxNotifier, InvocationAuditReportFactory invocationAuditReportFactory)
filter
- the filter of the listener.jmxNotifier
- the given JMX notifier.invocationAuditReportFactory
- the given invocation audit factoryMethod Detail |
---|
public void handle(org.ow2.util.event.api.IEvent event)
handle
in interface org.ow2.util.event.api.IEventListener
event
- the handled event.public String getEventProviderFilter()
getEventProviderFilter
in interface EZBEventListener
public boolean accept(org.ow2.util.event.api.IEvent event)
accept
in interface org.ow2.util.event.api.IEventListener
event
- The event to check.
public org.ow2.util.event.api.EventPriority getPriority()
getPriority
in interface org.ow2.util.event.api.IEventListener
public org.ow2.util.auditreport.impl.LifeCycleAuditReport getLifeCycleAuditReport(EZBEventLifeCycle event, String beanName, org.ow2.util.auditreport.impl.LifeCycleAuditReport.STEP step, Thread current)
event
- the event used to generate the report.beanName
- the name of the concerned bean.step
- the step of the event in the lifecycle.current
- the current thread.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |