portletFilterLifeCycle.portletFilter.setContext(portletFilterLifeCycle.portletFilterContext);
portletFilterLifeCycle.portletFilter.setPortletApplication(portletApplication);
portletApplication.addPortletFilter(portletFilterLifeCycle.portletFilter);
//
listener.onEvent(new ManagedObjectAddedEvent(portletFilterLifeCycle));
}
//
for (PortletContainerLifeCycle portletContainerLifeCycle : portletContainerLifeCycles.values())
{
portletContainerLifeCycle.portletContainer.setContext(portletContainerLifeCycle.portletContainerContext);
portletContainerLifeCycle.portletContainer.setPortletApplication(portletApplication);
portletApplication.addPortletContainer(portletContainerLifeCycle.portletContainer);
//
listener.onEvent(new ManagedObjectAddedEvent(portletContainerLifeCycle));
}
//
for (Map.Entry<PortletFilterLifeCycle, Set<PortletContainerLifeCycle>> entry : filterToContainerDependencies.entrySet())
{