Class ImportEventHandler
- java.lang.Object
-
- org.adempiere.base.event.annotations.BaseEventHandler
-
- org.adempiere.base.event.annotations.imp.ImportEventHandler
-
- All Implemented Interfaces:
org.osgi.service.event.EventHandler
public class ImportEventHandler extends BaseEventHandler
- Author:
- hengsin
-
-
Field Summary
-
Fields inherited from class org.adempiere.base.event.annotations.BaseEventHandler
eventTopicMap
-
-
Constructor Summary
Constructors Constructor Description ImportEventHandler(Class<? extends ImportEventDelegate> delegateClass, String importTableName, Function<org.osgi.service.event.Event,? extends ImportEventDelegate> 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
-
ImportEventHandler
public ImportEventHandler(Class<? extends ImportEventDelegate> delegateClass, String importTableName, Function<org.osgi.service.event.Event,? extends ImportEventDelegate> supplier)
- Parameters:
delegateClass
-importTableName
-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
-
-