All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.mojo.was6.WsStartAppMojo Maven / Gradle / Ivy

Go to download

Tools for working with IBM WebSphere 6.0.x and 6.1.x. This plugin works along with an installation of WebSphere Application Server or Process Server - standalone or ND installation, to provide automated tasks for: generating RMIC stubs, starting/stopping servers, installing/updating/uninstalling EARs to application servers, run serviceDeploy and run arbitrary scripts with wsadmin.

There is a newer version: 1.2.1
Show newest version
package org.codehaus.mojo.was6;

import org.apache.maven.plugin.MojoExecutionException;
import org.dom4j.Document;

/**
 * The wsStartApplication goal enables you to start an existing or newly installed application on a WebSphere Server or
 * in a WebSphere Cell.
 * 
 * @goal wsStartApp
 * @author David J. M. Karlsen
 */
public class WsStartAppMojo
    extends AbstractAppMojo
{
    /**
     * Optional parameter specifying the name of the node containing the application you wish to stop.
     * 
     * @parameter expression="${was6.node}" default-value="";
     */
    private String node;

    /**
     * Optional parameter specifying the name of the server containing the application you wish to start.
     * 
     * @parameter expression="${was6.server}" default-value="server1"
     */
    private String server;

    /**
     * {@inheritDoc}
     */
    protected void configureBuildScript( Document document )
        throws MojoExecutionException
    {
        super.configureBuildScript( document );
        super.configureTaskAttribute( document, "application", applicationName );
        super.configureTaskAttribute( document, "server", server );
        super.configureTaskAttribute( document, "node", node );
    }

    /**
     * {@inheritDoc}
     */
    protected String getTaskName()
    {
        return "wsStartApp";
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy