Class ListenerService.AsynchronousListener<S,D>
java.lang.Object
org.exoplatform.services.listener.ListenerService.AsynchronousListener<S,D>
- All Implemented Interfaces:
ListenerBase<S,D>
- Enclosing class:
ListenerService
protected class ListenerService.AsynchronousListener<S,D>
extends Object
implements ListenerBase<S,D>
This AsynchronousListener is a wrapper for original listener, that executes
wrapped listeners onEvent() in separate thread.
-
Constructor Details
-
AsynchronousListener
-
-
Method Details
-
onEvent
Description copied from interface:ListenerBaseThis method should be invoked when an event with the same name is broadcasted- Specified by:
onEventin interfaceListenerBase<S,D> - Parameters:
event- the event instance
-