protected void notify(PortletInvocationEvent event, boolean pre, Throwable e) { PortalAdministrationService pas = PlutoServices.getServices().getPortalAdministrationService(); for (PortletInvocationListener listener : pas.getPortletInvocationListeners()) { if (pre) { listener.onBegin(event); } else if (e == null) { listener.onEnd(event); } else { listener.onError(event, e); } } }
@Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { dispatch(request, response); }
public PortletEnvironmentService getPortletEnvironmentService() { return driverServices.getPortletEnvironmentService(); }
private void fireRemoved(DriverPortletContext context) { PortletRegistryEvent event = new PortletRegistryEvent(); event.setPortletApplication(context.getPortletApplicationDefinition()); for (PortletRegistryListener l : registryListeners) { l.portletApplicationRemoved(event); } logger.info("Portlet Context '" + context.getApplicationName() + "' removed."); }
private void fireRegistered(DriverPortletContext context) { PortletRegistryEvent event = new PortletRegistryEvent(); event.setPortletApplication(context.getPortletApplicationDefinition()); for (PortletRegistryListener l : registryListeners) { l.portletApplicationRegistered(event); } logger.info("Portlet Context '" + context.getApplicationName() + "' registered."); }
public PortletRegistryService getPortletRegistryService() { return driverServices.getPortletRegistryService(); }
public RequestDispatcherService getRequestDispatcherService() { return driverServices.getRequestDispatcherService(); } }
public CCPPProfileService getCCPPProfileService() { return driverServices.getCCPPProfileService(); }
public PortletPreferencesService getPortletPreferencesService() { return driverServices.getPortletPreferencesService(); }
public PortletContextService getPortletContextService() { return driverServices.getPortletContextService(); }
public PortalAdministrationService getPortalAdministrationService() { return driverServices.getPortalAdministrationService(); }
public EventCoordinationService getEventCoordinationService() { return driverServices.getEventCoordinationService(); }
public PortalContext getPortalContext() { return driverServices.getPortalContext(); }
public PortletRequestContextService getPortletRequestContextService() { return driverServices.getPortletRequestContextService(); }
public NamespaceMapper getNamespaceMapper() { return driverServices.getNamespaceMapper(); }
public PortletInvokerService getPortletInvokerService() { return driverServices.getPortletInvokerService(); }
public UserInfoService getUserInfoService() { return driverServices.getUserInfoService(); }
public FilterManagerService getFilterManagerService() { return driverServices.getFilterManagerService(); }
@Override protected void doPut(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { dispatch(request, response); }
@Override protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { dispatch(request, response); }