|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuditEventListener
This interface defines the methods all AuditEvent persistence-classes have to implement. Also this interface needs to be implemented by the classes that are thought to register to an event dispatcher and are then notified on arrival of new events.
| Method Summary | |
|---|---|
void |
eventArrived(AuditEvent evt)
This method is called when a new event arrives at the listener. |
void |
eventsArrived(Collection<AuditEvent> events)
Deprecated. |
| Method Detail |
|---|
void eventArrived(AuditEvent evt)
After the dispatcher calls this method each listener gets a call to
#notify(), thus a listener might wait for packets to arrive.
eventArrived in interface EventListener<AuditEvent>evt - The event which arrived.void eventsArrived(Collection<AuditEvent> events)
eventArrived(AuditEvent) for each of the given
events, but may be handled in a more efficient way by implementations
capable of processing blocks of events.
events - The block of events arrived.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||