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