/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/ |
H A D | AdminCommandContext.java | 55 public ActionReport report; field in class:AdminCommandContext 60 public AdminCommandContext(Logger logger, ActionReport report) { argument 61 this(logger, report, null, null); 64 public AdminCommandContext(Logger logger, ActionReport report, argument 68 this.report = report; 78 return report; 85 report = newReport;
|
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/cli/ |
H A D | GetRestConfig.java | 82 ActionReport report = context.getActionReport(); 88 report.setMessage("debug=false, indentLevel=-1, showHiddenCommands=false, wadlGeneration=false, logOutput=false, logInput=false, showDeprecatedItems=false, sessionTokenTimeout=30"); 90 report.getTopMessagePart().addProperty("debug", "false"); 91 report.getTopMessagePart().addProperty("indentLevel", "-1"); 92 report.getTopMessagePart().addProperty("showHiddenCommands", "false"); 93 report.getTopMessagePart().addProperty("showDeprecatedItems", "false"); 94 report.getTopMessagePart().addProperty("wadlGeneration", "" + "false"); 95 report.getTopMessagePart().addProperty("logOutput", "" + "false"); 96 report.getTopMessagePart().addProperty("logInput", "" + "false"); 97 report [all...] |
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/ |
H A D | ConnectionPoolUtil.java | 68 public boolean isValidApplication(String applicationName, String poolName, ActionReport report) { argument 73 setAppNameNeededErrorMessage(report); 85 setAppDisabledErrorMessage(report, applicationName, poolName); 91 setAppDisabledErrorMessage(report, applicationName, poolName); 94 setAppDisabledErrorMessage(report, applicationName, poolName); 97 setApplNotFoundErrorMessage(report, applicationName); 102 public boolean isValidModule(String applicationName, String moduleName, String poolName, ActionReport report) { argument 107 if(!isValidApplication(applicationName, poolName, report)){ 115 setModuleNotFoundErrorMessage(report, moduleName, applicationName); 120 public boolean isValidPool(Resources resources, String poolName, String prefix, ActionReport report) { argument 134 setAppNameNeededErrorMessage(ActionReport report) argument 142 setAppDisabledErrorMessage(ActionReport report, String applicationName, String poolName) argument 151 setApplNotFoundErrorMessage(ActionReport report, String applicationName) argument 158 setModuleNotFoundErrorMessage(ActionReport report, String moduleName, String applicationName) argument 165 setResourceNotFoundErrorMessage(ActionReport report, String poolName) argument [all...] |
H A D | DeleteAdminObject.java | 104 final ActionReport report = context.getActionReport(); 106 report.setMessage(localStrings.getLocalString("delete.admin.object.noJndiName", 108 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 114 report.setMessage(localStrings.getLocalString("delete.admin.object.notfound", 116 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 123 report.setMessage(localStrings.getLocalString("delete.admin.object.resource-ref.exist", 127 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 132 report.setMessage(localStrings.getLocalString("delete.admin.object.no.resource-ref", 135 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 141 report [all...] |
H A D | DeleteConnectorResource.java | 103 final ActionReport report = context.getActionReport(); 106 report.setMessage(localStrings.getLocalString("delete.connector.resource.noJndiName", 108 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 114 report.setMessage(localStrings.getLocalString("delete.connector.resource.notfound", 116 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 124 report.setMessage(localStrings.getLocalString("delete.connector.resource.resource-ref.exist", 128 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 133 report.setMessage(localStrings.getLocalString("delete.connector.resource.no.resource-ref", 136 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 142 report [all...] |
H A D | UpdateConnectorSecurityMap.java | 115 final ActionReport report = context.getActionReport(); 118 report.setMessage(localStrings.getLocalString("create.connector.security.map.noSecurityMapName", 120 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 126 report.setMessage(localStrings.getLocalString("create.connector.security.map.noSuchPoolFound", 128 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 133 report.setMessage(localStrings.getLocalString("update.connector.security.map.map_does_not_exist", 136 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 147 report.setMessage(localStrings.getLocalString( 151 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 164 report [all...] |
H A D | DeleteResourceAdapterConfig.java | 90 final ActionReport report = context.getActionReport(); 92 report.setMessage(localStrings.getLocalString("delete.resource.adapter.config.noRARName", 94 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 100 report.setMessage(localStrings.getLocalString("delete.resource.adapter.config.notfound", 102 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 119 report.setMessage(localStrings.getLocalString("delete.resource.adapter.config.fail", 121 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 125 report.setMessage(localStrings.getLocalString("delete.resource.adapter.config.fail", 128 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 129 report [all...] |
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/ |
H A D | InserverCommandRunnerHelper.java | 81 final ActionReport report) { 83 final AdminCommand adminCommand = commandRunner.getCommand(command, report, logger); 86 if (report.getActionExitCode() == ActionReport.ExitCode.FAILURE) 87 return report; 93 report.setMessage(message); 94 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 95 return report; 97 CommandRunner.CommandInvocation inv = commandRunner.getCommandInvocation(command, report); 101 * Must put the error information into the report 104 report 79 runCommand(final String command, final ParameterMap parameters, final ActionReport report) argument [all...] |
/glassfish-3.1.2/core/kernel/src/test/java/com/sun/enterprise/v3/common/ |
H A D | PlainTextActionReporterTest.java | 76 ActionReport report = new PlainTextActionReporter(); 77 report.setActionDescription("My Action Description"); 78 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 79 ActionReport.MessagePart top = report.getTopMessagePart(); 81 report.setFailureCause(new IndexOutOfBoundsException("Hi I am a phony Exception!!")); 82 report.writeReport(System.out); 86 ActionReport report = new PlainTextActionReporter(); 87 report.setActionDescription("My Action Description"); 88 report.setActionExitCode(ActionReport.ExitCode.SUCCESS); 89 ActionReport.MessagePart top = report [all...] |
/glassfish-3.1.2/tests/quicklook/cluster/clustersetup/src/test/clustersetup/ |
H A D | ClusterSetupTest.java | 69 retStatus = report(tn + "create-cluster", asadmin("create-cluster", cname)); 75 report(tn + "create-local-instance1", asadmin("create-local-instance", 80 retStatus = report(tn + "create-local-instance2", asadmin("create-local-instance", 91 report(tn + "start-local-instance1", asadmin("start-local-instance", i1name)); 92 report(tn + "start-local-instance2", asadmin("start-local-instance", i2name)); 96 report(tn + "list-instances", asadmin("list-instances")); 97 report(tn + "getindex1", matchString("GlassFish Server", getURL(i1url))); 98 retStatus = report(tn + "getindex2", matchString("GlassFish Server", getURL(i2url)));
|
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ |
H A D | CommandRunnable.java | 64 ActionReport report = null; field in class:CommandRunnable 75 * @param report The ActionReport you used with the CommandInvocation 83 public CommandRunnable(CommandInvocation ci, ActionReport report, argument 86 this.report = report; 132 return report;
|
H A D | CopyConfigCommand.java | 85 ActionReport report = context.getActionReport(); 86 report.setActionExitCode(ActionReport.ExitCode.SUCCESS); 89 report.setMessage(localStrings.getLocalString("Config.badConfigNames", 91 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 101 report.setMessage(localStrings.getLocalString( 103 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 110 report.setMessage(localStrings.getLocalString( 112 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 129 report.setMessage( 134 report [all...] |
H A D | DeleteConfigCommand.java | 87 ActionReport report = context.getActionReport(); 88 report.setActionExitCode(ActionReport.ExitCode.SUCCESS); 92 report.setMessage(localStrings.getLocalString( 96 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 105 report.setMessage(localStrings.getLocalString( 107 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 119 report.setMessage(localStrings.getLocalString( 123 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 139 report.setMessage( 143 report [all...] |
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/commands/ |
H A D | CollectLogFiles.java | 115 final ActionReport report = context.getActionReport(); 133 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 134 report.setMessage(errorMsg); 135 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 139 File targetDir = makingDirectoryOnDas(targetServer.getName(), report); 150 copyLogFilesForLocalhost(sourceDir, targetDir.getAbsolutePath(), report, targetServer.getName()); 154 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 155 report.setMessage(errorMsg); 156 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 167 report 406 copyLogFilesForLocalhost(String sourceDir, String targetDir, ActionReport report, String instanceName) argument 462 retrieveFile(String zipFileName, AdminCommandContext context, File tempDirectory, Properties props, ActionReport report) argument 559 makingDirectory(String path, ActionReport report, String errorMsg) argument 576 makingDirectory(File parent, String path, ActionReport report, String errorMsg) argument 625 makingDirectoryOnDas(String serverName, ActionReport report) argument [all...] |
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ |
H A D | DisableHTTPLBServerCommand.java | 90 ActionReport report = context.getActionReport(); 94 report.setActionExitCode(ActionReport.ExitCode.SUCCESS); 100 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 101 report.setMessage(msg); 107 updateLBForCluster(report, target, "false", timeout); 124 report.setMessage(msg); 132 report.setMessage(msg); 133 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 134 report.setFailureCause(ex); 142 ServerRef sRef = getServerRefFromCluster(report, targe [all...] |
H A D | DeleteHTTPLBRefCommand.java | 105 private ActionReport report; field in class:DeleteHTTPLBRefCommand 113 report = context.getActionReport(); 115 report.setActionExitCode(ActionReport.ExitCode.SUCCESS); 124 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 125 report.setMessage(msg); 132 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 133 report.setMessage(msg); 141 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 142 report.setMessage(msg); 165 report [all...] |
H A D | ConfigureLBWeightCommand.java | 86 final ActionReport report = context.getActionReport(); 90 report.setActionExitCode(ActionReport.ExitCode.SUCCESS); 96 report.setMessage(localStrings.getLocalString("InvalidWeightValue", "Invalid weight value")); 97 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 98 report.setFailureCause(ce); 106 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 107 report.setMessage(msg); 120 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 121 report.setMessage(msg); 131 report [all...] |
H A D | DeleteHTTPHealthCheckerCommand.java | 96 private ActionReport report; field in class:DeleteHTTPHealthCheckerCommand 104 report = context.getActionReport(); 106 report.setActionExitCode(ActionReport.ExitCode.SUCCESS); 117 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 118 report.setMessage(msg); 145 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 146 report.setMessage(msg); 158 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 159 report.setMessage(msg); 172 report [all...] |
/glassfish-3.1.2/jms/admin/src/main/java/org/glassfish/jms/admin/cli/ |
H A D | ConfigureJMSCluster.java | 144 final ActionReport report = context.getActionReport(); 151 report.setMessage(localStrings.getLocalString("configure.jms.cluster.invalidClusterName", 153 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 159 report.setMessage(localStrings.getLocalString("configure.jms.cluster.clusterWithInstances", 161 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 169 report.setMessage(localStrings.getLocalString("configure.jms.cluster.nojmsservice", 171 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 176 report.setMessage(localStrings.getLocalString("configure.jms.cluster.wrongClusterType", 178 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 183 report [all...] |
/glassfish-3.1.2/admin/monitor/src/main/java/org/glassfish/admin/monitor/jvm/statistics/ |
H A D | JVMStatsImpl.java | 93 public ActionReport process(final ActionReport report, final String filter) { argument 98 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 99 report.setMessage(localStrings.getLocalString("level.off", 101 return report; 106 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 107 report.setMessage(localStrings.getLocalString("mrdr.null", 109 return report; 114 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 115 report.setMessage(localStrings.getLocalString("mrdr.null", 117 return report; 133 heapMemory(final ActionReport report, TreeNode serverNode) argument 144 nonHeapMemory(final ActionReport report, TreeNode serverNode) argument 177 v2JVM(final ActionReport report, TreeNode serverNode) argument [all...] |
/glassfish-3.1.2/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/internal/ |
H A D | GetActivationSpecClass.java | 74 final ActionReport report = context.getActionReport(); 79 final ActionReport.MessagePart part = report.getTopMessagePart().addChild(); 82 report.setMessage("_get-activation-spec-class failed"); 83 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 84 report.setFailureCause(e); 89 report.setActionExitCode(ec);
|
H A D | GetAdminObjectInterfaceNames.java | 76 final ActionReport report = context.getActionReport(); 85 report.setExtraProperties(extraProperties); 87 report.setMessage("_get-admin-object-interface-names failed : " + e.getMessage()); 88 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 89 report.setFailureCause(e); 94 report.setActionExitCode(ec);
|
H A D | GetBuiltInCustomResources.java | 71 final ActionReport report = context.getActionReport(); 77 report.setExtraProperties(extraProperties); 79 report.setMessage("_get-built-in-custom-resources failed : " + e.getMessage()); 80 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 81 report.setFailureCause(e); 86 report.setActionExitCode(ec);
|
H A D | GetConnectionDefinitionNames.java | 76 final ActionReport report = context.getActionReport(); 85 report.setExtraProperties(extraProperties); 87 report.setMessage("_get-connection-definition-names failed : " + e.getMessage()); 88 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 89 report.setFailureCause(e); 94 report.setActionExitCode(ec);
|
H A D | GetConnectionDefinitionPropertiesAndDefaults.java | 79 final ActionReport report = context.getActionReport(); 86 report.setExtraProperties(extraProperties); 88 report.setMessage("_get-connection-definition-properties-and-defaults failed : " + e.getMessage()); 89 report.setActionExitCode(ActionReport.ExitCode.FAILURE); 90 report.setFailureCause(e); 95 report.setActionExitCode(ec);
|