* @param params the method params
* @return an invocation begin event.
*/
public EZBEventBeanInvocationBegin getInvocationEventBegin(final String source, final Object[] params) {
// Get current Security Context
EZBSecurityContext securityContext = SecurityCurrent.getCurrent().getSecurityContext();
boolean runAsMode = getBeanInfo().getSecurityInfo().getRunAsRole() != null;
EventBeanInvocationBegin event = new EventBeanInvocationBegin(source, params, securityContext, runAsMode);
event.setStackTraceElements(Thread.currentThread().getStackTrace());
// If audit ID propagation enabled, add current ID to the event