Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.management.events
Class EventCounterListener

java.lang.Object
  extended by org.nuxeo.ecm.core.management.events.EventCounterListener
All Implemented Interfaces:
PostCommitEventListener

public class EventCounterListener
extends Object
implements PostCommitEventListener

AsyncEventListener that collects events to update the Simon counters

Author:
Tiry (tdelprat@nuxeo.com)

Field Summary
static String EVENT_CREATE_COUNTER
           
static String EVENT_REMOVE_COUNTER
           
static String EVENT_UPDATE_COUNTER
           
 
Constructor Summary
EventCounterListener()
           
 
Method Summary
 void handleEvent(EventBundle events)
          Handles the set of events that were raised during the life of an user operation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_CREATE_COUNTER

public static final String EVENT_CREATE_COUNTER
See Also:
Constant Field Values

EVENT_UPDATE_COUNTER

public static final String EVENT_UPDATE_COUNTER
See Also:
Constant Field Values

EVENT_REMOVE_COUNTER

public static final String EVENT_REMOVE_COUNTER
See Also:
Constant Field Values
Constructor Detail

EventCounterListener

public EventCounterListener()
Method Detail

handleEvent

public void handleEvent(EventBundle events)
                 throws ClientException
Description copied from interface: PostCommitEventListener
Handles the set of events that were raised during the life of an user operation.

The events are fired as a BundleEvent after the transaction is committed.

Specified by:
handleEvent in interface PostCommitEventListener
Parameters:
events - the events to handle
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.