Package com.sun.enterprise.admin.cli.remote

Examples of com.sun.enterprise.admin.cli.remote.RemoteCommand


        }
        return instanceHostName;
    }

    private void setDomainName() throws CommandException {
        RemoteCommand rc = new RemoteCommand("_get-runtime-info", this.programOpts, this.env);
        Map<String, String> map = rc.executeAndReturnAttributes("_get-runtime-info", "--target", "server");
        this.domainName = map.get("domain_name_value");
    }
View Full Code Here


        final String origAuthToken = programOpts.getAuthToken();
        if (origAuthToken != null) {
            programOpts.setAuthToken(AuthTokenManager.markTokenForReuse(origAuthToken));
        }

        syncCmd = new RemoteCommand("_synchronize-files", programOpts, env);
        syncCmd.setFileOutputDirectory(instanceDir);

        /*
         * The sync state file records the fact that we're in the middle
         * of a synchronization attempt.  When we're done, we remove it.
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.cli.remote.RemoteCommand

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.