Package org.apache.jetspeed.deployment.impl

Examples of org.apache.jetspeed.deployment.impl.StandardDeploymentObject


                                String warFile)
    throws PortletApplicationException, FileNotDeployableException, IOException
    {
        System.out.println("Registering Portlet Application [" + portletApplicationName + "]...")
             
        StandardDeploymentObject deploymentObject = new StandardDeploymentObject(new File(warFile));
        registrator.register(new PortletApplicationWar(deploymentObject.getFileObject(),  portletApplicationName, "/"+portletApplicationName ) );
        System.out.println("...PAM Register done");  
        deploymentObject.close();
    }
View Full Code Here


                              String portletApplicationName)
    throws PortletApplicationException, FileNotDeployableException, IOException       
    {
        System.out.println("Deploying Web Application [" + webAppsDir + "] to Portlet Application [" + portletApplicationName + "]...");
              
        StandardDeploymentObject deploymentObject = new StandardDeploymentObject(new File(warFile));
        deployer.deploy(new PortletApplicationWar(deploymentObject.getFileObject(), portletApplicationName, "/"+portletApplicationName));
        System.out.println("...PAM Deploy done");  
        deploymentObject.close();
    }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.deployment.impl.StandardDeploymentObject

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.