Package org.apache.pluto.util.publish

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


     */
    protected MavenProject project;

    public void execute() throws MojoExecutionException, MojoFailureException {

        PortletPublishConfig config = new PortletPublishConfig();
        config.setHost(host);
        config.setPort(port);
        config.setProtocol(protocol);
        config.setUsername(username);
        config.setPassword(password);
        config.setContext(portalContextPath);
        config.setPortletApplicationContext(portletApplicationContext);

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

        try {
View Full Code Here


    public void execute() throws BuildException {

        validateArgs();

        try {
            PortletPublishConfig config = new PortletPublishConfig();
            config.setHost(getHost());
            config.setPort(getPort());
            config.setContext(getPortalContext());
            config.setUsername(getUsername());
            config.setPassword(getPassword());
            config.setPortletApplicationContext(getPortletApplicationContext());

            PortletPublishService publisher = PortletPublishServiceFactory.getFactory()
                .createPortletPublishService(config);
            publisher.publish(config);
        }
View Full Code Here

TOP

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

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.