required.getPortletURLListenerService(), optional);
}
protected void createDefaultServicesIfNeeded()
{
rdService = rdService == null ? new RequestDispatcherServiceImpl() : rdService;
portletRegistryService = portletRegistryService == null ? new PortletContextManager(rdService, new PortletAppDescriptorServiceImpl()) : portletRegistryService;
portletContextService = portletContextService == null ? (PortletContextManager)portletRegistryService : portletContextService;
portalAdministrationService = portalAdministrationService == null ? new DefaultPortalAdministrationService() : portalAdministrationService;
ccppProfileService = ccppProfileService == null ? new DummyCCPPProfileServiceImpl() : ccppProfileService;
portletPreferencesService = portletPreferencesService == null ? new DefaultPortletPreferencesService() : portletPreferencesService;