Searched refs:stdinLines (Results 1 - 6 of 6) sorted by relevance

/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/
H A DNodeRunner.java149 final List<String> stdinLines = new ArrayList<String>();
150 stdinLines.add(AsadminInput.versionSpecifier());
151 stdinLines.add(AUTH_TOKEN_STDIN_LINE_PREFIX + authTokenManager.createToken());
156 args, stdinLines);
159 return runAdminCommandOnRemoteNode(node, output, args, stdinLines);
166 List<String> stdinLines) throws
188 pm.setStdinLines(stdinLines);
214 List<String> stdinLines) throws
223 int result = nrs.runAdminCommandOnRemoteNode(node, output, args, stdinLines);
230 return nrd.runAdminCommandOnRemoteNode(node, output, args, stdinLines);
163 runAdminCommandOnLocalNode(Node node, StringBuilder output, boolean waitForReaderThreads, List<String> args, List<String> stdinLines) argument
212 runAdminCommandOnRemoteNode(Node node, StringBuilder output, List<String> args, List<String> stdinLines) argument
[all...]
H A DNodeRunnerDcom.java81 List<String> stdinLines) throws
92 if (stdinLines != null && !stdinLines.isEmpty())
93 setupAuthTokenFile(fullcommand, stdinLines);
79 runAdminCommandOnRemoteNode(Node thisNode, StringBuilder output, List<String> args, List<String> stdinLines) argument
H A DNodeRunnerSsh.java93 List<String> stdinLines) throws
126 commandStatus = sshL.runCommand(fullcommand, outStream, stdinLines);
91 runAdminCommandOnRemoteNode(Node node, StringBuilder output, List<String> args, List<String> stdinLines) argument
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/process/
H A DProcessManager.java80 stdinLines = new String[list.size()];
81 stdinLines = (String[]) list.toArray(stdinLines);
163 if (stdinLines == null || stdinLines.length <= 0) {
172 for (int i = 0; i < stdinLines.length; i++) {
173 debug("InputLine ->" + stdinLines[i] + "<-");
174 pipe.println(stdinLines[i]);
279 private String[] stdinLines; field in class:ProcessManager
/glassfish-3.1.2/tests/quicklook/utils/src/com/sun/appserv/test/util/process/
H A DProcessManager.java83 stdinLines = new String[list.size()];
84 stdinLines = list.toArray(cmdline);
157 if (stdinLines == null || stdinLines.length <= 0) {
165 for (String stdinLine : stdinLines) {
251 private String[] stdinLines; field in class:ProcessManager
/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/launcher/
H A DSSHLauncher.java317 * @param stdinLines optional data to be sent to the process's System.in
324 List<String> stdinLines) throws IOException,
327 return runCommand(commandListToQuotedString(command), os, stdinLines);
360 * @param stdinLines optional data to be sent to the process's System.in stream; null if no input should be sent
366 List<String> stdinLines) throws IOException,
377 int status = exec(sess, command, os, listInputStream(stdinLines));
415 private InputStream listInputStream(final List<String> stdinLines) throws IOException { argument
416 if (stdinLines == null) {
420 for (String line : stdinLines) {
323 runCommand(List<String> command, OutputStream os, List<String> stdinLines) argument
365 runCommand(String command, OutputStream os, List<String> stdinLines) argument

Completed in 17 milliseconds