Class EventDelegate
java.lang.Object
org.adempiere.base.event.annotations.EventDelegate
- Direct Known Subclasses:
AfterLoginEventDelegate
,ImportEventDelegate
,ModelEventDelegate
,ProcessEventDelegate
,RequestSendEmailEventDelegate
Annotation driven event delegate base class that works together with
Subclass implementation doesn't have to be thread safe as event delegate is create and throw away for each event call.
Subclass should use
BaseEventHandler
.Subclass implementation doesn't have to be thread safe as event delegate is create and throw away for each event call.
Subclass should use
EventTopic
or one of its derived annotation to define the event topic to handle.- Author:
- hengsin
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
event
protected org.osgi.service.event.Event event
-
-
Constructor Details
-
EventDelegate
public EventDelegate(org.osgi.service.event.Event event) - Parameters:
event
-
-
-
Method Details
-
getEvent
protected org.osgi.service.event.Event getEvent()- Returns:
Event
-