Class Listener<S,D>
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.services.listener.Listener<S,D>
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
- Direct Known Subclasses:
ListenerService.AsynchronousListener
public abstract class Listener<S,D> extends org.exoplatform.container.component.BaseComponentPluginCreated by The eXo Platform SAS
This class is registered with the Listener service and is invoked when an event with the same name is broadcasted. You can have many listeners with the same name to listen to an event.- Author:
- Nhu Dinh Thuan
- eXo level API
- Platform
-
-
Constructor Summary
Constructors Constructor Description Listener()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidonEvent(Event<S,D> event)This method should be invoked when an event with the same name is broadcasted
-