public class ThreadEventListener extends Object implements EventListener
ThreadEventHandler
for being enlisted in the EventService
.Constructor and Description |
---|
ThreadEventListener(ThreadEventHandler anHandler) |
Modifier and Type | Method and Description |
---|---|
boolean |
aboutToHandleEvent(Event event)
Notified about an event about to be processed.
|
void |
handleEvent(Event anEvent)
An event was received.
|
boolean |
install() |
boolean |
isInstalled() |
boolean |
uninstall() |
public ThreadEventListener(ThreadEventHandler anHandler)
public boolean aboutToHandleEvent(Event event)
EventListener
aboutToHandleEvent
in interface EventListener
event
- the eventpublic void handleEvent(Event anEvent)
EventListener
handleEvent
in interface EventListener
public boolean isInstalled()
public boolean uninstall()
public boolean install()
Copyright © 2015 Nuxeo SA. All rights reserved.