Searched defs:cmd (Results 1 - 25 of 25) sorted by relevance

/glassfish-3.1.2/tests/quicklook/admincli/src/test/admincli/
H A DExistStatusTests.java51 private String cmd, cmd1; field in class:ExistStatusTests
55 cmd = ASADMIN + " create-jdbc-connection-pool " +
59 execReturn = RtExec.execute(cmd);
66 cmd = ASADMIN + " ping-connection-pool DerbyPool";
67 RtExec.execute(cmd);
75 cmd = ASADMIN + " delete-jdbc-connection-pool QLJdbcPool";
76 execReturn = RtExec.execute(cmd);
/glassfish-3.1.2/tests/quicklook/admincli/src/test/admincli/util/
H A DRtExec.java60 public static boolean execute(String cmd) throws IOException { argument
62 proc = rt.exec(cmd);
/glassfish-3.1.2/tests/quicklook/ejb/mdb/src/test/mdb/
H A DMDBTests.java53 private String cmd; field in class:MDBTests
59 cmd = ASADMIN + " multimode --file " + batchFile1;
60 execReturn = RtExec.execute(cmd);
67 cmd = ASADMIN + " deploy --retrieve=" + mdbAppDir
69 //System.out.println("CMD = "+cmd);
70 execReturn = RtExec.execute(cmd);
77 cmd = APPCLIENT+" -client "+mdbAppDir+mdbApp+"Client.jar ";
79 execReturn = RtExec.execute(cmd);
85 cmd = ASADMIN + " undeploy " + mdbApp;
86 //System.out.println("CMD = "+cmd);
[all...]
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/
H A DCLIProcessExecutor.java58 * @param cmd the command to execute
62 public void execute(String name, String[] cmd, boolean wait) argument
64 process = Runtime.getRuntime().exec(cmd);
H A DHelpCommand.java69 private String cmd; field in class:HelpCommand
89 return cmd != null ? cmd : DEFAULT_HELP_PAGE;
113 CLICommand cmd = CLICommand.getCommand(habitat, getCommandName());
114 Reader r = cmd.getManPage();
H A DMonitorTask.java62 private RemoteCommand cmd; field in class:MonitorTask
82 cmd = new RemoteCommand(remoteArgs[0], programOpts, env);
142 cmd.execute(remoteArgs);
H A DCLICommand.java182 CLICommand cmd = habitat.getComponent(CLICommand.class, name);
183 if (cmd != null)
184 return cmd;
1110 private static void checkUnsupportedLegacyCommand(String cmd) argument
1113 if (c.equals(cmd)) {
1115 strings.get("UnsupportedLegacyCommand", cmd));
1171 String cmd = tok.nextToken();
1172 set.add(cmd);
/glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/
H A DWindowsRemoteAsadmin.java84 * @param cmd e.g. "start-local-instance i1"
89 public final String run(String cmd) throws WindowsException { argument
92 sb.append(cmd);
H A DWindowsRemoteScripter.java78 * @param cmd e.g. "C:/glassfish3/bin/asadmin" "start-local-instance" "i1"
96 * @param cmd e.g. "C:/glassfish3/bin/asadmin start-local-instance i1"
99 public String run(String cmd) throws WindowsException { argument
100 if (cmd == null || cmd.isEmpty())
120 new JIString("%comspec% /c " + cmd)
/glassfish-3.1.2/common/amx-config/src/main/java/org/glassfish/admin/amx/intf/config/
H A DAnonymousElementList.java94 * @param cmd the operation to perform
98 public String[] modifyAnonymousElementList(final String elementName, final String cmd, final String[] args); argument
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/common/
H A DArgsParser.java111 private ArgumentHandler getArgHandler(String cmd) { argument
115 clazz = Class.forName("com.sun.enterprise.tools.upgrade.common.arguments.ARG_" + cmd);
129 aHandler.setCmd(cmd);
132 sm.getString("enterprise.tools.upgrade.cli.invalid_option",cmd), ex);
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DInstanceState.java148 public void addFailedCommands(String cmd) { argument
154 failedCommands.add(cmd);
/glassfish-3.1.2/tests/quicklook/admin/src/test/admin/util/
H A DGeneralUtils.java82 * @param cmd
87 public static String toFinalURL(String adminUrl, String cmd, Map<String, String>options, String operand) { argument
88 if (adminUrl == null || cmd == null)
89 throw new IllegalArgumentException("null adminURL/cmd not allowed");
93 buffer.append(cmd);
/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/
H A DNodeRunnerDcom.java137 private void setupAuthTokenFile(List<String> cmd, List<String> stdin) throws WindowsException { argument
144 cmd.add(AsadminInput.CLI_INPUT_OPTION);
145 cmd.add(authTokenFilePath);
214 private boolean isCommand(List<String> args, final String cmd) { argument
215 if (!ok(cmd))
219 if (arg != null && arg.equals(cmd))
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/common/arguments/
H A DArgumentHandler.java65 String cmd = null; field in class:ArgumentHandler
76 cmd = c;
79 return cmd;
100 * Indicate if this cmd option requires a parameter.
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DListCommandDescriptorsCommand.java81 for (AdminCommand cmd : adminCmds) {
82 cliCmds.add(reflect(cmd));
93 private CLICommand reflect(AdminCommand cmd) { argument
94 CLICommand cliCmd = new CLICommand(cmd);
96 for (Field f : cmd.getClass().getDeclaredFields()) {
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DSSIProcessor.java225 * @param cmd
229 protected String[] parseParamNames(StringBuilder cmd, int start) { argument
235 while (bIdx < cmd.length()) {
237 while (bIdx < cmd.length() && isSpace(cmd.charAt(bIdx)))
239 if (bIdx >= cmd.length()) break;
242 while (bIdx < cmd.length() && cmd.charAt(bIdx) != '=') {
243 retBuf.append(cmd.charAt(bIdx));
250 for (; bIdx < cmd
279 parseParamValues(StringBuilder cmd, int start, int count) argument
330 parseCmd(StringBuilder cmd) argument
[all...]
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/notification/
H A DNotificationReceiver.java115 private void connect(String cmd, boolean disconnect) throws IOException { argument
118 if (cmd != null)
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DInstanceStateService.java126 public synchronized void addFailedCommandToInstance(String instance, String cmd, ParameterMap params) { argument
128 String cmdDetails = cmd;
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DSupplementalCommandExecutorImpl.java176 private ActionReport.ExitCode inject(SupplementalCommand cmd,InjectionResolver<Param> injector, ActionReport subActionReport) { argument
180 new InjectionManager().inject(cmd.command, injector);
196 public SupplementalCommand(AdminCommand cmd, Supplemental.Timing time, FailurePolicy onFail) { argument
197 command = cmd;
201 cmd.getClass().getAnnotation(org.glassfish.api.admin.ExecuteOn.class);
/glassfish-3.1.2/common/amx-ext-impl/src/main/java/org/glassfish/admin/amx/impl/ext/
H A DRuntimeRootImpl.java247 final AdminCommand cmd = new RestartDomainCommand(registry);
248 cmd.execute(ctx);
292 public String executeREST(final String cmd) argument
299 final String url = getRESTBaseURL() + cmd;
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DProcessExecutor.java94 public ProcessExecutor(String[] cmd) argument
96 this(cmd, DEFAULT_TIMEOUT_SEC, null);
102 public ProcessExecutor(String[] cmd, String[] inputLines) argument
104 this(cmd, DEFAULT_TIMEOUT_SEC, inputLines);
110 public ProcessExecutor(String[] cmd, long timeoutSeconds) argument
112 this(cmd, timeoutSeconds, null);
115 public ProcessExecutor(String[] cmd, long timeoutSeconds, String[] inputLines) argument
117 this(cmd, timeoutSeconds, inputLines, null, null);
123 @param cmd String that has command name and its command line arguments
128 public ProcessExecutor(String[] cmd, lon argument
[all...]
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/remote/
H A DRemoteAdminCommand.java552 HttpCommand cmd) throws CommandException {
553 doHttpCommand(uriString, httpMethod, cmd, false /* isForMetadata */);
557 * Set up an HTTP connection, call cmd.prepareConnection so the consumer of
559 * redirects if needed), then call cmd.useConnection so the consumer of the
568 * @param cmd the HttpCommand object
572 HttpCommand cmd, boolean isForMetadata) throws CommandException {
664 cmd.prepareConnection(urlConnection);
710 cmd.useConnection(urlConnection);
1183 NodeList cmd = doc.getElementsByTagName("command");
1184 Node cmdnode = cmd
551 doHttpCommand(String uriString, String httpMethod, HttpCommand cmd) argument
571 doHttpCommand(String uriString, String httpMethod, HttpCommand cmd, boolean isForMetadata) argument
[all...]
/glassfish-3.1.2/common/amx-config-impl/src/main/java/org/glassfish/admin/amx/impl/config/
H A DAMXConfigImpl.java1335 final String cmd,
1344 if (cmd.equals(OP_REPLACE))
1356 else if (cmd.equals(OP_REMOVE))
1361 else if (cmd.equals(OP_ADD))
1372 throw new IllegalArgumentException(cmd);
1449 final String cmd,
1455 mCmd = cmd;
1332 handleCollection( final WriteableView writeable, final ConfigModel.Property prop, final String cmd, final List<String> argValues) argument
1446 ModifyCollectionApplyer( final ConfigBean cb, final String elementName, final String cmd, final String[] values) argument
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc40/
H A Djdbc40.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/sql/ javax/sql/StatementEvent.class StatementEvent. ...

Completed in 907 milliseconds