Searched refs:CommandModel (Results 1 - 25 of 26) sorted by relevance

12

/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DCommandModelProvider.java52 CommandModel getModel();
H A DCommandRunner.java75 public CommandModel getModel(String name, Logger logger);
H A DCommandModel.java60 public abstract class CommandModel { class
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/common/util/admin/
H A DMapInjectionResolver.java51 import org.glassfish.api.admin.CommandModel;
62 private final CommandModel model;
70 public MapInjectionResolver(CommandModel model,
75 public MapInjectionResolver(CommandModel model,
86 String name = CommandModel.getParamName(annotation, element);
87 CommandModel.ParamModel param = model.getModelFor(name);
95 String paramName = CommandModel.getParamName(param, target);
213 CommandModel.getParamName(param, target),
324 String paramName = CommandModel.getParamName(param, target);
328 String paramName = CommandModel
[all...]
H A DCommandModelImpl.java49 import org.glassfish.api.admin.CommandModel;
67 public class CommandModelImpl extends CommandModel {
70 final private Map<String, CommandModel.ParamModel> params;
147 public CommandModel.ParamModel getModelFor(String paramName) {
H A DParameterMapExtractor.java52 import org.glassfish.api.admin.CommandModel;
129 final String paramName = param.primary() ? "DEFAULT" : CommandModel.getParamName(param, f);
H A DGenericCommandModel.java47 import org.glassfish.api.admin.CommandModel;
59 public class GenericCommandModel extends CommandModel {
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DGenericListCommand.java48 import org.glassfish.api.admin.CommandModel;
73 CommandModel model;
93 CommandModel.ParamModel param = model.getModelFor(paramName);
156 public CommandModel getModel() {
H A DGenericDeleteCommand.java73 CommandModel model;
77 public CommandModel getModel() {
96 CommandModel.ParamModel param = model.getModelFor(paramName);
H A DGenericCreateCommand.java99 CommandModel.ParamModel param = model.getModelFor(paramName);
216 public CommandModel getModel() {
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/
H A DCommandRunnerImpl.java137 public CommandModel getModel(String commandName, Logger logger) {
204 CommandModel model = getModel(command);
235 private ActionReport.ExitCode injectParameters(final CommandModel model, final AdminCommand command,
254 CommandModel.ParamModel paramModel = null;
255 for (CommandModel.ParamModel pModel : model.getParameters()) {
330 final CommandModel model,
404 static String getUsageText(AdminCommand command, CommandModel model) {
424 private static String generateUsageText(CommandModel model) {
431 for (CommandModel.ParamModel pModel : model.getParameters()) {
504 CommandModel mode
[all...]
/glassfish-3.1.2/core/kernel/src/test/java/com/sun/enterprise/v3/admin/
H A DCommandRunnerTest.java57 import org.glassfish.api.admin.CommandModel;
71 CommandModel model = new CommandModelImpl(DummyAdminCommand.class);
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DCommandModelData.java48 import org.glassfish.api.admin.CommandModel;
65 public class CommandModelData extends CommandModel {
68 private final Map<String, CommandModel.ParamModel> params =
97 public CommandModel.ParamModel getModelFor(String paramName) {
125 * Add the ParamModel to this CommandModel.
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/
H A DStatusGenerator.java69 import org.glassfish.api.admin.CommandModel;
368 Collection<CommandModel.ParamModel> params;
372 Iterator<CommandModel.ParamModel> iterator = params.iterator();
373 CommandModel.ParamModel paramModel;
393 public Collection<CommandModel.ParamModel> getParamMetaData(String commandName) {
395 CommandModel cm = cr.getModel(commandName, RestService.logger);
396 Collection<CommandModel.ParamModel> params = cm.getParameters();
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/
H A DResourceUtil.java80 import org.glassfish.api.admin.CommandModel;
245 Collection<CommandModel.ParamModel> params;
252 Iterator<CommandModel.ParamModel> iterator = params.iterator();
253 CommandModel.ParamModel paramModel;
442 CommandModel cm = cr.getModel(commandName, RestService.logger);
454 public static Collection<CommandModel.ParamModel> getParamMetaData(
457 CommandModel cm = cr.getModel(commandName, logger);
458 Collection<CommandModel.ParamModel> params = cm.getParameters();
473 public static Collection<CommandModel.ParamModel> getParamMetaData(
477 CommandModel c
[all...]
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/embeddable/
H A DCommandExecutorImpl.java48 import org.glassfish.api.admin.CommandModel;
96 CommandModel commandModel = commandRunner.getModel(command, logger);
121 for (CommandModel.ParamModel opt : commandModel.getParameters()) {
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/remote/
H A DRemoteAdminCommand.java53 import org.glassfish.api.admin.CommandModel.ParamModel;
88 * (in the form of a CommandModel) is required. The getCommandModel
90 * return it. If the CommandModel for a command is known
141 private CommandModel commandModel;
284 * Set the CommandModel used by this command. Normally the
285 * CommandModel will be fetched from the server using the
286 * getCommandModel method, which will also save the CommandModel
287 * for further use. If the CommandModel is known in advance, it
290 public void setCommandModel(CommandModel commandModel) {
321 * Get the CommandModel fo
[all...]
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/remote/
H A DRemoteCommand.java54 import org.glassfish.api.admin.CommandModel.ParamModel;
466 * Return a CommandModel that only includes the --help option.
468 private CommandModel helpModel() {
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/generator/
H A DResourcesGeneratorBase.java58 import org.glassfish.api.admin.CommandModel;
315 CommandModel cm = cr.getModel(commandName, RestService.logger);
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/
H A DMultimodeCommand.java49 import org.glassfish.api.admin.CommandModel.ParamModel;
H A DParser.java46 import org.glassfish.api.admin.CommandModel.ParamModel;
H A DProgramOptions.java49 import org.glassfish.api.admin.CommandModel.ParamModel;
H A DCLICommand.java54 import org.glassfish.api.admin.CommandModel.ParamModel;
141 protected CommandModel commandModel;
756 * don't have the CommandModel yet.)
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DGlassFishClusterExecutor.java121 CommandModel model;
H A DSupplementalCommandExecutorImpl.java166 CommandModel model;

Completed in 336 milliseconds

12