//
PortletInfo info = container.getInfo();
EventingInfo eventingInfo = info.getEventing();
Map<QName, ? extends EventInfo> consumedEventInfos = eventingInfo.getConsumedEvents();
EventInfo eventInfo = consumedEventInfos.get(eventName);
//
if (trace)
{
log.trace("Attempt to obtain for event " + eventName + " its payload class " + srcPayloadClassName + " in the application " + applicationId +
" for portlet " + container.getInfo());
}
//
Class dstPayloadClass = null;
if (eventInfo != null)
{
ContainerTypeInfo typeInfo = (ContainerTypeInfo)eventInfo.getType();
//
if (typeInfo != null)
{
dstPayloadClass = typeInfo.getType();