Class ProcessEventHandler
- java.lang.Object
-
- org.adempiere.base.event.annotations.BaseEventHandler
-
- org.adempiere.base.event.annotations.process.ProcessEventHandler
-
- All Implemented Interfaces:
org.osgi.service.event.EventHandler
public class ProcessEventHandler extends BaseEventHandler
- Author:
- hengsin
-
-
Field Summary
-
Fields inherited from class org.adempiere.base.event.annotations.BaseEventHandler
eventTopicMap
-
-
Constructor Summary
Constructors Constructor Description ProcessEventHandler(Class<? extends ProcessEventDelegate> delegateClass, String processUUID, Function<org.osgi.service.event.Event,? extends ProcessEventDelegate> supplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventDelegate
newEventDelegate(org.osgi.service.event.Event event)
create new instance of event delegate-
Methods inherited from class org.adempiere.base.event.annotations.BaseEventHandler
createTopicMap, getFilter, getTopics, handleEvent, setEventPropertyFilter, setFilter
-
-
-
-
Constructor Detail
-
ProcessEventHandler
public ProcessEventHandler(Class<? extends ProcessEventDelegate> delegateClass, String processUUID, Function<org.osgi.service.event.Event,? extends ProcessEventDelegate> supplier)
- Parameters:
delegateClass
-processUUID
- filter by process uuid (null for all process)supplier
-
-
-
Method Detail
-
newEventDelegate
protected EventDelegate newEventDelegate(org.osgi.service.event.Event event)
Description copied from class:BaseEventHandler
create new instance of event delegate- Specified by:
newEventDelegate
in classBaseEventHandler
- Returns:
EventDelegate
-
-