Searched refs:commandParams (Results 1 - 21 of 21) sorted by relevance

/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/
H A DUberMain.java90 String[] commandParams = null;
92 commandParams = new String[split.length - 1];
94 commandParams[i - 1] = split[i].trim();
98 CommandResult result = commandParams == null ?
99 cr.run(command) : cr.run(command, commandParams);
/glassfish-3.1.2/deployment/admin/src/main/java/org/glassfish/deployment/admin/
H A DInstanceLifecycleModuleCommand.java107 DeployCommandParameters commandParams = new DeployCommandParameters();
108 commandParams.name = name;
109 commandParams.target = target;
110 commandParams.enabled = enabled;
111 commandParams.virtualservers = virtualservers;
113 ExtendedDeploymentContext lifecycleContext = new DeploymentContextImpl(report, logger, null, commandParams, null);
H A DCreateApplicationRefCommand.java241 DeployCommandParameters commandParams=null;
246 commandParams = app.getDeployParameters(null);
247 commandParams.origin = Origin.create_application_ref;
248 commandParams.target = target;
249 commandParams.virtualservers = virtualservers;
250 commandParams.enabled = enabled;
252 commandParams.lbenabled = lbenabled;
255 commandParams.type = DeploymentProperties.OSGI;
282 deployment.getBuilder(logger, commandParams, report).source(archive).build();
334 new ArrayList<String>(Arrays.asList(commandParams
[all...]
H A DCreateLifecycleModuleCommand.java129 DeployCommandParameters commandParams = new DeployCommandParameters();
130 commandParams.name = name;
131 commandParams.enabled = enabled;
132 commandParams.description = description;
133 commandParams.target = target;
136 ExtendedDeploymentContext deploymentContext = new DeploymentContextImpl(report, logger, null, commandParams, null);
H A DDeleteApplicationRefCommand.java157 UndeployCommandParameters commandParams =
161 commandParams.origin = Origin.unload;
165 commandParams.origin = Origin.undeploy;
214 commandParams.name = appName;
215 commandParams.cascade = cascade;
218 deployment.getBuilder(logger, commandParams, report).source(source).build();
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/generator/
H A DCommandResourceMetaData.java54 public ParameterMetaData[] commandParams; field in class:CommandResourceMetaData
72 // Each row has variable no of commandParams. If commandParams are present, extract them from current row and stuff into a String[]
75 metaData.commandParams = new ParameterMetaData[currentRow.length - PARAMETER_START_INDEX];
79 metaData.commandParams[i - PARAMETER_START_INDEX] = currentParam;
H A DClassWriter.java54 void createCommandResourceConstructor(String commandResourceClassName, String commandName, String httpMethod, boolean linkedToParent, CommandResourceMetaData.ParameterMetaData[] commandParams, String commandDisplayName, String commandAction); argument
H A DTextClassWriter.java141 public void createCommandResourceConstructor(String commandResourceClassName, String commandName, String httpMethod, boolean linkedToParent, CommandResourceMetaData.ParameterMetaData[] commandParams, String commandDisplayName, String commandAction) { argument
156 if (commandParams != null) {
160 for (CommandResourceMetaData.ParameterMetaData commandParam : commandParams) {
H A DResourcesGeneratorBase.java347 if(metaData.commandParams != null) {
348 for(CommandResourceMetaData.ParameterMetaData parameterMetaData : metaData.commandParams) {
355 writer.createCommandResourceConstructor(commandResourceClassName, commandName, httpMethod, isLinkedToParent, metaData.commandParams, commandDisplayName, commandAction);
H A DASMClassWriter.java208 CommandResourceMetaData.ParameterMetaData[] commandParams,
264 if (commandParams != null) {
273 for (CommandResourceMetaData.ParameterMetaData commandParam : commandParams) {
206 createCommandResourceConstructor(String commandResourceClassName, String commandName, String httpMethod, boolean linkedToParent, CommandResourceMetaData.ParameterMetaData[] commandParams, String commandDisplayName, String commandAction) argument
/glassfish-3.1.2/ant-tasks/src/main/java/org/glassfish/ant/embedded/tasks/
H A DUtil.java145 String[] commandParams = null;
147 commandParams = new String[split.length - 1];
149 commandParams[i - 1] = split[i].trim();
153 CommandResult result = commandParams == null ?
154 cr.run(command) : cr.run(command, commandParams);
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/
H A DTemplateExecCommand.java87 // protected HashMap<String, String> commandParams = null;
153 HashMap<String, String> commandParams = getCommandParams();
154 if (commandParams != null) {
155 for (Map.Entry<String, String> entry : commandParams.entrySet()) {
164 ResourceUtil.resolveParentParamValue(commandParams, uriInfo);
166 for (Map.Entry<String, String> entry : commandParams.entrySet()) {
H A DStatusGenerator.java234 public void createCommandResourceConstructor(String commandResourceClassName, String commandName, String httpMethod, boolean linkedToParent, ParameterMetaData[] commandParams, String commandDisplayName, String commandAction) { argument
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployment/client/
H A DAbstractDeploymentFacility.java144 Map commandParams = new HashMap();
145 commandParams.put(DFDeploymentProperties.TARGET, target.getName());
146 DFCommandRunner commandRunner = getDFCommandRunner(commandName, commandParams, new String[]{moduleID});
554 Map commandParams = new HashMap();
555 commandParams.put(DFDeploymentProperties.TARGET, target);
560 DFCommandRunner commandRunner = getDFCommandRunner(commandName, commandParams, operands);
746 Map commandParams = new HashMap();
747 commandParams.put("appname", moduleID);
752 DFCommandRunner commandRunner = getDFCommandRunner(commandName, commandParams, operands);
801 Map commandParams
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/
H A DApplicationConfigListener.java306 UndeployCommandParameters commandParams =
308 commandParams.name = appName;
309 commandParams.target = server.getName();
310 commandParams.origin = UndeployCommandParameters.Origin.unload;
311 deployment.disable(commandParams, app, appInfo, report, logger);
H A DApplicationLifecycle.java250 final DeployCommandParameters commandParams = context.getCommandParameters(DeployCommandParameters.class);
252 final String appName = commandParams.name();
253 if (commandParams.origin == OpsParams.Origin.deploy &&
262 if (commandParams.virtualservers == null) {
263 commandParams.virtualservers = getVirtualServers(
264 commandParams.target);
267 if (commandParams.enabled == null) {
268 commandParams.enabled = Boolean.TRUE;
308 if (!commandParams.keepfailedstubs) {
328 commandParams
1948 disable(UndeployCommandParameters commandParams, Application app, ApplicationInfo appInfo, ActionReport report, Logger logger) argument
[all...]
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/embeddable/
H A DDeployerImpl.java117 ParameterMap commandParams = executer.getParameters(command, newParams);
120 inv.parameters(commandParams);
123 String retrieveOpt = commandParams.getOne("retrieve");
H A DCommandExecutorImpl.java141 ParameterMap commandParams = getParameters(command, args);
147 inv.parameters(commandParams).execute();
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/deployment/
H A DDeployment.java242 public void disable(UndeployCommandParameters commandParams, argument
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/module/
H A DResourcesDeployer.java666 final DeployCommandParameters commandParams = dc.getCommandParameters(DeployCommandParameters.class);
667 return commandParams.name();
1040 final UndeployCommandParameters commandParams =
1042 String appName = commandParams.name();
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/
H A DResourceUtil.java283 public static void resolveParentParamValue(HashMap<String, String> commandParams, UriInfo uriInfo) { argument
286 for (String key : commandParams.keySet()) {
287 if (commandParams.get(key).equals(Constants.VAR_PARENT)) {
288 commandParams.put(key, parent);
294 Set<String> keys = commandParams.keySet();
299 if (commandParams.get(key).equals(Constants.VAR_PARENT)) {
300 commandParams.put(key, parent);

Completed in 155 milliseconds