Class ThreadEventListener

java.lang.Object
org.nuxeo.runtime.trackers.concurrent.ThreadEventListener
All Implemented Interfaces:
EventListener

public class ThreadEventListener extends Object implements EventListener
Wrap a ThreadEventHandler for being enlisted in the EventService.
Since:
6.0
Author:
Stephane Lacoin at Nuxeo (aka matic)
  • Field Details

    • handler

      protected final ThreadEventHandler handler
    • installed

      protected boolean installed
  • Constructor Details

  • Method Details

    • handleEvent

      public void handleEvent(Event anEvent)
      Description copied from interface: EventListener
      An event was received.
      Specified by:
      handleEvent in interface EventListener
    • isInstalled

      public boolean isInstalled()
    • uninstall

      public boolean uninstall()
    • install

      public boolean install()