Package org.apache.pluto.util.publish

Examples of org.apache.pluto.util.publish.PortletPublishService


        config.setUsername(username);
        config.setPassword(password);
        config.setContext(portalContextPath);
        config.setPortletApplicationContext(portletApplicationContext);

        PortletPublishService publisher =
            PortletPublishServiceFactory.getFactory().createPortletPublishService(config);

        try {
            publisher.publish(config);
        }
        catch(UtilityException ue) {
            throw new MojoExecutionException(ue.getMessage());
        }
    }
View Full Code Here


            config.setContext(getPortalContext());
            config.setUsername(getUsername());
            config.setPassword(getPassword());
            config.setPortletApplicationContext(getPortletApplicationContext());

            PortletPublishService publisher = PortletPublishServiceFactory.getFactory()
                .createPortletPublishService(config);
            publisher.publish(config);
        }
        catch(UtilityException ue) {
            throw new BuildException(ue);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.pluto.util.publish.PortletPublishService

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.