Class CleanupJcrObservationListener

java.lang.Object
org.exoplatform.addons.documents.cleanup.listener.CleanupJcrObservationListener
All Implemented Interfaces:
javax.jcr.observation.EventListener

public class CleanupJcrObservationListener extends Object implements javax.jcr.observation.EventListener
JCR observation listener registered only while a cleanup campaign is PUBLISHED. Pure glue: filters events under the scanned roots and asynchronously forwards (path, eventType) pairs to the given callback, with no business logic.
  • Constructor Details

  • Method Details

    • onEvent

      public void onEvent(javax.jcr.observation.EventIterator events)
      Specified by:
      onEvent in interface javax.jcr.observation.EventListener