if (srcPayload != null)
{
PortletContainer container = (PortletContainer)invocation.getAttribute(ContainerPortletInvoker.PORTLET_CONTAINER);
//
PortletApplication application = container.getPortletApplication();
PortletApplicationContext applicationContext = application.getContext();
ClassLoader applicationClassLoader = applicationContext.getClassLoader();
String srcPayloadClassName = srcPayload.getClass().getName();
boolean trace = log.isTraceEnabled();
QName eventName = eventInvocation.getName();
String containerId = container.getId();
String applicationId = application.getId();
//
PortletInfo info = container.getInfo();
EventingInfo eventingInfo = info.getEventing();
Map<QName, ? extends EventInfo> consumedEventInfos = eventingInfo.getConsumedEvents();