Class Event<S,D>
java.lang.Object
org.exoplatform.services.listener.Event<S,D>
Created by The eXo Platform SAS
Event object.
Event object.
- Author:
- : @author : Nhu Dinh Thuan.
- eXo level API
- Platform
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
eventName
-
source
-
data
-
-
Constructor Details
-
Event
Construct an Event object that contain the event name , the object that broadcast the event and the data object that the source object is working on- Parameters:
name- The name of the eventsource- The object on which the Event initially occurred.data- the object that the source object is working on
-
-
Method Details
-
getEventName
- Returns:
- The name of the event. Any Listener want to be invoked on the event has to have the same name
-
getSource
- Returns:
- The object on which the Event initially occurred.
-
getData
- Returns:
- The data object that the source object is working on
-