IDEMPIERE-3924 Implement EventHandler for pre/after/post processes / adding suggestion from Hiep
This commit is contained in:
parent
29a52d89e7
commit
caaffcdbbc
|
@ -259,7 +259,8 @@ public abstract class SvrProcess implements ProcessCall
|
||||||
Event event = EventManager.newEvent(topic,
|
Event event = EventManager.newEvent(topic,
|
||||||
new EventProperty(EventManager.EVENT_DATA, m_pi),
|
new EventProperty(EventManager.EVENT_DATA, m_pi),
|
||||||
new EventProperty("processUUID", m_pi.getAD_Process_UU()),
|
new EventProperty("processUUID", m_pi.getAD_Process_UU()),
|
||||||
new EventProperty("className", m_pi.getClassName()));
|
new EventProperty("className", m_pi.getClassName()),
|
||||||
|
new EventProperty("processClassName", this.getClass().getName()));
|
||||||
EventManager.getInstance().sendEvent(event);
|
EventManager.getInstance().sendEvent(event);
|
||||||
return event;
|
return event;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue