public class ThreadEventListener extends Object implements EventListener
ThreadEventHandler
for being enlisted in the EventService
.Modifier and Type | Field and Description |
---|---|
protected ThreadEventHandler |
handler |
protected boolean |
installed |
Constructor and Description |
---|
ThreadEventListener(ThreadEventHandler anHandler) |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(Event anEvent)
An event was received.
|
boolean |
install() |
boolean |
isInstalled() |
boolean |
uninstall() |
protected final ThreadEventHandler handler
protected boolean installed
public ThreadEventListener(ThreadEventHandler anHandler)
public void handleEvent(Event anEvent)
EventListener
handleEvent
in interface EventListener
public boolean isInstalled()
public boolean uninstall()
public boolean install()
Copyright © 2017 Nuxeo. All rights reserved.