Searched refs:commandName (Results 1 - 25 of 76) sorted by relevance

1234

/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/custom/
H A DTokenResource.java50 public TokenResource(String resourceName, String commandName, String commandMethod, boolean b) { argument
51 super(resourceName, commandName, commandMethod, b);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DSSICommand.java78 * @param commandName
90 public long process(SSIMediator ssiMediator, String commandName, argument
H A DSSIConditional.java75 public long process(SSIMediator ssiMediator, String commandName, argument
82 if ("if".equalsIgnoreCase(commandName)) {
99 } else if ("elif".equalsIgnoreCase(commandName)) {
119 } else if ("else".equalsIgnoreCase(commandName)) {
129 } else if ("endif".equalsIgnoreCase(commandName)) {
H A DSSIConfig.java76 public long process(SSIMediator ssiMediator, String commandName, argument
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/generator/
H A DClassWriter.java54 void createCommandResourceConstructor(String commandResourceClassName, String commandName, String httpMethod, boolean linkedToParent, CommandResourceMetaData.ParameterMetaData[] commandParams, String commandDisplayName, String commandAction); argument
63 void createGetDeleteCommand(String commandName); argument
65 void createGetPostCommand(String commandName); argument
H A DResourcesGeneratorBase.java264 String commandName = configBeanToDELETECommand.get(beanName);
265 if (commandName != null) {
266 if (commandIsPresent(commandName)) {//and the command exits
267 classWriter.createGetDeleteCommand(commandName);
279 String commandName = configBeanToPOSTCommand.get(resourceName);
280 if (commandName != null) {
281 if (commandIsPresent(commandName)) {//and the command exits
282 classWriter.createGetPostCommand(commandName);
313 private boolean commandIsPresent(String commandName){ argument
315 CommandModel cm = cr.getModel(commandName, RestServic
[all...]
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/
H A DTemplateCommandGetResource.java61 public TemplateCommandGetResource(String resourceName, String commandName, String commandMethod, boolean b) { argument
62 super(resourceName, commandName, commandMethod, "GET", commandName, b);
H A DStatusGenerator.java234 public void createCommandResourceConstructor(String commandResourceClassName, String commandName, String httpMethod, boolean linkedToParent, ParameterMetaData[] commandParams, String commandDisplayName, String commandAction) { argument
246 public void createGetDeleteCommand(String commandName) { argument
248 // StatusGenerator.this.status.append(commandName);
250 commandsUsed.add(commandName);
251 if (commandsToResources.containsKey(commandName)) {
252 String val = commandsToResources.get(commandName) + ", " + className;
253 commandsToResources.put(commandName, val);
256 commandsToResources.put(commandName, className);
258 resourcesToDeleteCommands.put(className, commandName);
262 public void createGetPostCommand(String commandName) { argument
286 createGetPostCommandForCollectionLeafResource(String commandName) argument
301 createGetDeleteCommandForCollectionLeafResource(String commandName) argument
393 getParamMetaData(String commandName) argument
[all...]
H A DTemplateExecCommand.java83 protected String commandName; field in class:TemplateExecCommand
92 public TemplateExecCommand(String resourceName, String commandName, String commandMethod, String commandAction, String commandDisplayName, argument
95 this.commandName = commandName;
115 MethodMetaData methodMetaData = ResourceUtil.getMethodMetaData(commandName, getCommandParams(), habitat, RestService.logger);
127 RestActionReporter actionReport = ResourceUtil.runCommand(commandName, data, habitat,
131 ActionReportResult results = new ActionReportResult(commandName, actionReport, option.getMetaData());
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DClusterExecutor.java64 * @param commandName the name of the command to execute
70 public ActionReport.ExitCode execute(String commandName, AdminCommand command, AdminCommandContext context, argument
H A DRestRedirect.java70 String commandName(); method in interface:RestRedirect
H A DExecuteOn.java112 public ActionReport.ExitCode execute(String commandName, AdminCommand command, AdminCommandContext context, ParameterMap parameters) { argument
113 return delegate.execute(commandName, command, context, parameters);
H A DSupplementalCommandExecutor.java60 public ActionReport.ExitCode execute(String commandName, Supplemental.Timing time, argument
H A DCommandRunner.java78 * Obtain and return the command implementation defined by the passed commandName
80 * @param commandName command name as typed by users
83 * @return command registered under commandName or null if not found.
85 public AdminCommand getCommand(String commandName, ActionReport report, Logger logger); argument
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/embedded/admin/
H A DEmbeddedAdminContainer.java58 * @param commandName command name as typed by asadmin users
62 public CommandExecution execute(String commandName, CommandParameters params); argument
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployment/client/
H A DRemoteDeploymentFacility.java84 String commandName,
87 return new RemoteCommandRunner(commandName, commandOptions, operands);
92 private final String commandName; field in class:RemoteDeploymentFacility.RemoteCommandRunner
97 String commandName,
101 this.commandName = commandName;
109 commandName,
116 new RemoteCommand(commandName, po, env, "jsr-88/xml", baos);
129 * @param commandName the command to execute
135 String commandName,
83 getDFCommandRunner( String commandName, Map<String,Object> commandOptions, String[] operands) argument
96 RemoteCommandRunner( String commandName, Map<String,Object> commandOptions, String[] operands) argument
134 prepareRemoteCommandArguments( String commandName, Map<String,Object> options, String[] operands) argument
[all...]
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/util/
H A DLocalDeploymentFacility.java105 * @param commandName command to be run
112 final String commandName,
115 return new LocalDFCommandRunner(commandName, commandOptions, operands);
123 private final String commandName; field in class:LocalDeploymentFacility.LocalDFCommandRunner
128 final String commandName,
132 this.commandName = commandName;
139 commandRunner.getCommandInvocation(commandName, report).parameters(parameters).execute();
111 getDFCommandRunner( final String commandName, final Map<String,Object> commandOptions, final String[] operands) argument
127 LocalDFCommandRunner( final String commandName, final Map<String,Object> commandOptions, final String[] operands) argument
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DClusterOperationUtil.java85 public static ActionReport.ExitCode replicateCommand(String commandName, argument
92 return replicateCommand(commandName, failPolicy, offlinePolicy,
115 public static ActionReport.ExitCode replicateCommand(String commandName, argument
143 new Object[] {commandName, svr.getName(), scfg.getName()}));
145 instanceState.addFailedCommandToInstance(svr.getName(), commandName, parameters);
154 new InstanceCommandExecutor(habitat, commandName, failPolicy, offlinePolicy,
171 commandName, svr.getName()));
195 "Waiting for command {0} to be completed at instance {1}", commandName, s));
215 instanceState.addFailedCommandToInstance(s, commandName, parameters);
233 instanceState.addFailedCommandToInstance(s, commandName, parameter
239 replicateCommand(String commandName, FailurePolicy failPolicy, FailurePolicy offlinePolicy, Collection<String> targetNames, AdminCommandContext context, ParameterMap parameters, Habitat habitat) argument
269 replicateCommand(String commandName, FailurePolicy failPolicy, FailurePolicy offlinePolicy, Collection<String> targetNames, AdminCommandContext context, ParameterMap parameters, Habitat habitat, File intermediateDownloadDir) argument
[all...]
H A DInstanceCommandExecutor.java65 private String commandName; field in class:InstanceCommandExecutor
81 this.commandName = name;
115 "Command {0} executed successfully on server instance {1}", commandName, getServer().getName()));
124 getServer().getName(), commandName));
128 getServer().getName(), commandName));
133 "FAILURE: Command {0} failed on server instance {1}: {2}", commandName, getServer().getName(),
138 commandName, getServer().getName(), cmdEx.getMessage()));
/glassfish-3.1.2/deployment/admin/src/main/java/org/glassfish/deployment/admin/
H A DDeployDirCommand.java81 String commandName = getClass().getAnnotation(Service.class).name();
82 childPart.setMessage(localStrings.getLocalString("deploydir.command.deprecated", "{0} command deprecated. Please use {1} command instead.", commandName, "deploy"));
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DMessageSecurityConfig.java73 @RestRedirect(opType = RestRedirect.OpType.POST, commandName = "create-message-security-provider"),
74 @RestRedirect(opType = RestRedirect.OpType.DELETE, commandName = "delete-message-security-provider")
H A DResourceRef.java64 @RestRedirect(opType = RestRedirect.OpType.POST, commandName = "create-resource-ref"),
65 @RestRedirect(opType = RestRedirect.OpType.DELETE, commandName = "delete-resource-ref")
H A DSystemProperty.java67 @RestRedirect(opType = RestRedirect.OpType.POST, commandName = "create-system-properties"),
68 @RestRedirect(opType = RestRedirect.OpType.DELETE, commandName = "delete-system-property")
/glassfish-3.1.2/deployment/autodeploy/src/main/java/org/glassfish/deployment/autodeploy/
H A DAutoOperation.java91 private String commandName; field in class:AutoOperation
104 * @param commandName name of the command to execute
108 AutoOperation init(File file, Properties props, String commandName, AdminCommand command) { argument
111 this.commandName = commandName;
144 CommandRunner.CommandInvocation inv = commandRunner.getCommandInvocation(commandName, report);
/glassfish-3.1.2/admin/jmx-remote/server/src/main/java/com/sun/enterprise/admin/jmx/remote/server/servlet/
H A DJMXHTTPAdapter.java184 public void doCommand(final String commandName, final Properties parameters, final ActionReport report) { argument
186 final AdminCommand handler = getCommand(commandName, report, logger);
192 usage(commandName, handler, report);
195 report.setActionDescription(commandName + " AdminCommand");
242 "{0} command requires the {1} parameter : {2}", commandName, paramName, paramDesc);
245 "{0} command requires the {1} parameter", commandName, paramName);
283 adminStrings.getLocalString("adapter.command.launch", "{0} launch successful", commandName));
287 public void usage(String commandName, AdminCommand command, ActionReport report) { argument
289 report.setActionDescription(commandName + " help");
381 * @param commandName th
386 getCommand(String commandName, ActionReport report, Logger logger) argument
[all...]

Completed in 513 milliseconds

1234