Package org.apache.pluto.spi.optional

Examples of org.apache.pluto.spi.optional.PortalAdministrationService


            }

            // The requested method is ADMIN: call handlers.
            else if (methodId == Constants.METHOD_ADMIN) {
                ContainerInvocation inv = ContainerInvocation.getInvocation();
                PortalAdministrationService pas =
                    inv.getPortletContainer()
                        .getOptionalContainerServices()
                        .getPortalAdministrationService();

                Iterator it = pas.getAdministrativeRequestListeners().iterator();
                while(it.hasNext()) {
                    AdministrativeRequestListener l =(AdministrativeRequestListener)it.next();
                    l.administer(portletRequest, portletResponse);
                }
            }
View Full Code Here


            }

            // The requested method is ADMIN: call handlers.
            else if (methodId == Constants.METHOD_ADMIN) {
                ContainerInvocation inv = ContainerInvocation.getInvocation();
                PortalAdministrationService pas =
                    inv.getPortletContainer()
                        .getOptionalContainerServices()
                        .getPortalAdministrationService();

                Iterator it = pas.getAdministrativeRequestListeners().iterator();
                while (it.hasNext()) {
                    AdministrativeRequestListener l = (AdministrativeRequestListener) it.next();
                    l.administer(portletRequest, portletResponse);
                }
            }
View Full Code Here

        }
    }

    protected void notify(PortletInvocationEvent event, boolean pre, Throwable e) {
        ContainerInvocation inv = ContainerInvocation.getInvocation();
        PortalAdministrationService pas = inv.getPortletContainer()
            .getOptionalContainerServices()
            .getPortalAdministrationService();

        Iterator i = pas.getPortletInvocationListeners().iterator();
        while (i.hasNext()) {
            PortletInvocationListener listener = (PortletInvocationListener) i.next();
            if (pre) {
                listener.onBegin(event);
            } else if (e == null) {
View Full Code Here

            }

            // The requested method is ADMIN: call handlers.
            else if (methodId == Constants.METHOD_ADMIN) {
                ContainerInvocation inv = ContainerInvocation.getInvocation();
                PortalAdministrationService pas =
                    inv.getPortletContainer()
                        .getOptionalContainerServices()
                        .getPortalAdministrationService();

                Iterator it = pas.getAdministrativeRequestListeners().iterator();
                while(it.hasNext()) {
                    AdministrativeRequestListener l =(AdministrativeRequestListener)it.next();
                    l.administer(portletRequest, portletResponse);
                }
            }
View Full Code Here

TOP

Related Classes of org.apache.pluto.spi.optional.PortalAdministrationService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.