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 with 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 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