Package org.apache.pluto.descriptors.services.impl

Examples of org.apache.pluto.descriptors.services.impl.StreamPortletAppDescriptorServiceImpl


    }

    public void testUnmarshalWebXml() throws Exception {
        InputStream in = getClass().getResourceAsStream("portlet.xml");
        PortletAppDD config =
            new StreamPortletAppDescriptorServiceImpl(
                "test", in, (OutputStream)null
            ).read();

        assertTrue(config!=null);
        assertTrue(config.getPortlets()!=null);
View Full Code Here


                    Marshaller marshaller = new Marshaller(serializer.asDocumentHandler());
                    marshaller.setMapping(sdmXml);
                    marshaller.marshal(webApp);
                    */
                   
                    PortletAppDescriptorService portletAppDescriptorService = new StreamPortletAppDescriptorServiceImpl(appName, pis, null);
                    File tmpf = File.createTempFile("infoglue-web-xml", null);
                    WebAppDescriptorService webAppDescriptorService = new StreamWebAppDescriptorServiceImpl(appName, wis, new FileOutputStream(tmpf));
                   
                    org.apache.pluto.driver.deploy.Deploy d = new org.apache.pluto.driver.deploy.Deploy(webAppDescriptorService, portletAppDescriptorService);
                    d.updateDescriptors();
View Full Code Here

TOP

Related Classes of org.apache.pluto.descriptors.services.impl.StreamPortletAppDescriptorServiceImpl

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.