org.exoplatform.webui.config.Event econfig = config
.getUIComponentEventConfig(MonitorEvent.UICOMPONENT_LIFECYCLE_MONITOR_EVENT);
if (econfig == null) {
return null;
}
Phase executionPhase = econfig.getExecutionPhase();
if (executionPhase == phase || executionPhase == Event.Phase.ANY) {
MonitorEvent<UIComponent> mevent = new MonitorEvent<UIComponent>(this,
MonitorEvent.UICOMPONENT_LIFECYCLE_MONITOR_EVENT, context);
mevent.setEventListeners(econfig.getCachedEventListeners());
mevent.setStartExecutionTime(System.currentTimeMillis());