Package org.apache.jetspeed

Examples of org.apache.jetspeed.PortalContext


     */
    public void init(ServletConfig config, Map properties)
    throws Exception
    {
        servletConfig = config;       
        PortalContext pc = Jetspeed.getContext();
        servletInvokerFactory = new ServletPortletInvokerFactory(pc);
        localInvokerFactory = new LocalPortletInvokerFactory(pc);                               
    }
View Full Code Here


    public void setUp() throws Exception
    {
        this.portletFactory = new JetspeedPortletFactory(new RequestDispatcherServiceImpl(), true, true);
        PortalConfiguration configuration = (PortalConfiguration) DelegatingObjectProxy.createProxy(new Class [] { PortalConfiguration.class },
                                                                                                    new MockPortalConfiguration());
        PortalContext portalContext = (PortalContext) DelegatingObjectProxy.createProxy(new Class [] { PortalContext.class },
                                                                                        new MockPortalContext(configuration));
        this.portletFactory.setPortalContext(portalContext);       
    }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.PortalContext

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.