Package org.apache.geronimo.deployment.plugin

Examples of org.apache.geronimo.deployment.plugin.FailedProgressObject


        final File configFile;
        try {
            configFile = File.createTempFile("deploy", ".car");
            builder.buildConfiguration(configFile, null, jis, plan);
        } catch (Exception e) {
            return new FailedProgressObject(CommandType.DISTRIBUTE,
                e.getMessage());
        }
        // moves the fully baked archive to the designated deployment targets.
        ProgressObjectAggregator aggregator = new ProgressObjectAggregator();
        try {
View Full Code Here


        return null;
    }

    public ProgressObject distribute(Target[] targetList, ConfigurationBuilder builder, InputStream in, XmlObject plan) throws IllegalStateException {
        if (targetList.length != 1 || !target.equals(targetList[0])) {
            return new FailedProgressObject(CommandType.DISTRIBUTE, "Invalid Target");
        }
        DistributeCommand command = new DistributeCommand(store, builder, in, plan);
        new Thread(command).start();
        return command;
    }
View Full Code Here

        final File configFile;
        try {
            configFile = File.createTempFile("deploy", ".car");
            builder.buildConfiguration(configFile, null, jis, plan);
        } catch (Exception e) {
            return new FailedProgressObject(CommandType.DISTRIBUTE,
                e.getMessage());
        }
        // moves the fully baked archive to the designated deployment targets.
        ProgressObjectAggregator aggregator = new ProgressObjectAggregator();
        try {
View Full Code Here

TOP

Related Classes of org.apache.geronimo.deployment.plugin.FailedProgressObject

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.