Nuxeo Enterprise Platform 5.1

org.nuxeo.ecm.platform.events.listener
Class ContextDataCleanerListener

java.lang.Object
  extended by org.nuxeo.ecm.core.listener.AbstractEventListener
      extended by org.nuxeo.ecm.platform.events.listener.ContextDataCleanerListener
All Implemented Interfaces:
AsynchronousEventListener, DocumentModelEventListener, EventListener

public class ContextDataCleanerListener
extends AbstractEventListener
implements AsynchronousEventListener, DocumentModelEventListener

Listener used to clean the context information set at request scope.

Context information is sent together with a document to be used when processing an event for the document.

This listener is supposed to be called at the end of the other event processings to clean this list.

Author:
Anahide Tchertchian

Constructor Summary
ContextDataCleanerListener()
           
 
Method Summary
 void notifyEvent(CoreEvent coreEvent)
          Notifies a core event.
 
Methods inherited from class org.nuxeo.ecm.core.listener.AbstractEventListener
accepts, addEventId, getName, getOrder, removeEventId, setName, setOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.core.listener.EventListener
accepts, addEventId, getName, getOrder, removeEventId, setName, setOrder
 

Constructor Detail

ContextDataCleanerListener

public ContextDataCleanerListener()
Method Detail

notifyEvent

public void notifyEvent(CoreEvent coreEvent)
Description copied from interface: EventListener
Notifies a core event.

Specified by:
notifyEvent in interface EventListener
Parameters:
coreEvent - the core event to notify

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.