public class EventCounterListener extends Object implements PostCommitEventListener
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_CREATE_COUNTER |
static String |
EVENT_REMOVE_COUNTER |
static String |
EVENT_UPDATE_COUNTER |
Constructor and Description |
---|
EventCounterListener() |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(EventBundle events)
Handles the set of events that were raised during the life of an user operation.
|
public static final String EVENT_CREATE_COUNTER
public static final String EVENT_UPDATE_COUNTER
public static final String EVENT_REMOVE_COUNTER
public void handleEvent(EventBundle events) throws ClientException
PostCommitEventListener
The events are fired as a BundleEvent
after the transaction is committed.
handleEvent
in interface PostCommitEventListener
events
- the events to handleClientException
Copyright © 2015 Nuxeo SA. All rights reserved.