Searched refs:deleteCommand (Results 1 - 12 of 12) sorted by relevance

/glassfish-3.1.2/connectors/admin/src/test/java/org/glassfish/connectors/admin/cli/
H A DDeleteCustomResourceTest.java130 DeleteCustomResource deleteCommand = habitat.getComponent(DeleteCustomResource.class);
131 assertTrue(deleteCommand != null);
133 cr.getCommandInvocation("delete-custom-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
170 DeleteCustomResource deleteCommand = habitat.getComponent(DeleteCustomResource.class);
171 assertTrue(deleteCommand != null);
173 cr.getCommandInvocation("delete-custom-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
H A DDeleteJavaMailResourceTest.java134 DeleteJavaMailResource deleteCommand = habitat.getComponent(DeleteJavaMailResource.class);
135 assertTrue(deleteCommand != null);
136 cr.getCommandInvocation("delete-javamail-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
174 DeleteJavaMailResource deleteCommand = habitat.getComponent(DeleteJavaMailResource.class);
175 cr.getCommandInvocation("delete-javamail-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
H A DDeleteJndiResourceTest.java133 DeleteJndiResource deleteCommand = habitat.getComponent(DeleteJndiResource.class);
134 cr.getCommandInvocation("delete-jndi-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
171 DeleteJndiResource deleteCommand = habitat.getComponent(DeleteJndiResource.class);
172 cr.getCommandInvocation("delete-jndi-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
H A DListCustomResourcesTest.java157 DeleteCustomResource deleteCommand = habitat.getComponent(DeleteCustomResource.class);
158 assertTrue(deleteCommand != null);
160 cr.getCommandInvocation("delete-custom-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
H A DListJavaMailResourcesTest.java161 DeleteJavaMailResource deleteCommand = habitat.getComponent(DeleteJavaMailResource.class);
162 assertTrue(deleteCommand != null);
163 cr.getCommandInvocation("delete-javamail-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
H A DListJndiResourcesTest.java154 DeleteJndiResource deleteCommand = habitat.getComponent(DeleteJndiResource.class);
155 cr.getCommandInvocation("delete-jndi-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/provider/
H A DActionReportResultHtmlProvider.java107 String deleteCommand = getHtmlRespresentationsForCommand(deleteMetaData, "DELETE", ( proxy.getCommandDisplayName()==null )? "Delete" : proxy.getCommandDisplayName(), uriInfo);
108 result.append(getHtmlForComponent(deleteCommand, "Delete " + ar.getActionDescription(), ""));
118 String deleteCommand = ProviderUtil.getHtmlRespresentationsForCommand(proxy.getMetaData().getMethodMetaData("DELETE"), "DELETE", (proxy.getCommandDisplayName() == null) ? "Delete" : proxy.getCommandDisplayName(), uriInfo);
119 result.append(ProviderUtil.getHtmlForComponent(deleteCommand, "Delete " + entity.model.getTagName(), ""));
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/
H A DCollectionLeafResource.java194 String deleteCommand = getDeleteCommand();
196 if (isJvmOptions(deleteCommand)) {
201 return runCommand(deleteCommand, processData(data), "rest.resource.delete.message",
205 return runCommand(deleteCommand, data, "rest.resource.delete.message",
245 String deleteCommand = getDeleteCommand();
246 if (deleteCommand != null) {
247 MethodMetaData deleteMethodMetaData = ResourceUtil.getMethodMetaData(deleteCommand, habitat, RestService.logger);
/glassfish-3.1.2/jdbc/admin/src/test/java/org/glassfish/jdbc/admin/cli/
H A DDeleteJdbcResourceTest.java72 private DeleteJdbcResource deleteCommand = null; field in class:DeleteJdbcResourceTest
112 deleteCommand = habitat.getComponent(DeleteJdbcResource.class);
113 assertTrue(deleteCommand!=null);
121 cr.getCommandInvocation("delete-jdbc-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
134 cr.getCommandInvocation("delete-jdbc-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
184 cr.getCommandInvocation("delete-jdbc-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
233 cr.getCommandInvocation("delete-jdbc-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
251 cr.getCommandInvocation("delete-jdbc-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
272 cr.getCommandInvocation("delete-jdbc-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
298 cr.getCommandInvocation("delete-jdbc-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
[all...]
H A DListJdbcResourcesTest.java79 DeleteJdbcResource deleteCommand = null; field in class:ListJdbcResourcesTest
224 deleteCommand = habitat.getComponent(DeleteJdbcResource.class);
225 assertTrue(deleteCommand!=null);
233 cr.getCommandInvocation("delete-jdbc-resource", context.getActionReport()).parameters(parameters).execute(deleteCommand);
/glassfish-3.1.2/orb/orb-connector/src/test/java/org/glassfish/orb/admin/cli/
H A DDeleteIiopListenerTest.java127 DeleteIiopListener deleteCommand = habitat.getComponent(DeleteIiopListener.class);
128 cr.getCommandInvocation("delete-iiop-listener", context.getActionReport()).parameters(parameters).execute(deleteCommand);
151 DeleteIiopListener deleteCommand = habitat.getComponent(DeleteIiopListener.class);
152 cr.getCommandInvocation("delete-iiop-listener", context.getActionReport()).parameters(parameters).execute(deleteCommand);
H A DListIiopListenersTest.java158 DeleteIiopListener deleteCommand = habitat.getComponent(DeleteIiopListener.class);
159 cr.getCommandInvocation("delete-iiop-listener", context.getActionReport()).parameters(parameters).execute(deleteCommand);

Completed in 146 milliseconds