Package org.apache.geronimo.deployment.cli

Examples of org.apache.geronimo.deployment.cli.CommandDistribute


    @Override
    protected Object doExecute() throws Exception {
        ServerConnection connection = connect();

        CommandDistribute command = new CommandDistribute();

        List<String> commandArgs = new LinkedList<String>();
        commandArgs.add(module);

        if (modulePlan != null) {
            commandArgs.add(modulePlan);
        }

        DistributeCommandArgs args = new DistributeCommandArgsImpl(commandArgs.toArray(new String[commandArgs.size()]),
                (targets == null ? new String[0] : targets.split(";")), inPlace);

        command.execute(this, connection, args);
        return null;
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.deployment.cli.CommandDistribute

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.