public class DocumentCategorizationAsyncListener extends Object implements PostCommitEventListener
Modifier and Type | Field and Description |
---|---|
protected static String |
ALLREADY_CATEGORIZED_FLAG |
protected Set<String> |
eventNames |
protected static org.apache.commons.logging.Log |
log |
protected DocumentCategorizationService |
service |
Constructor and Description |
---|
DocumentCategorizationAsyncListener() |
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.
|
protected static final org.apache.commons.logging.Log log
protected static final String ALLREADY_CATEGORIZED_FLAG
protected Set<String> eventNames
protected DocumentCategorizationService service
public DocumentCategorizationAsyncListener()
public void handleEvent(EventBundle events)
PostCommitEventListener
The events are fired as a BundleEvent
after the transaction is committed.
handleEvent
in interface PostCommitEventListener
events
- the events to handleCopyright © 2016 Nuxeo SA. All rights reserved.