コード例 #1
0
 private void dynamicEndpointAdditionScenario(String path)
     throws IOException, EndpointAdminEndpointAdminException, XMLStreamException {
   int beforeCount = endPointAdminClient.getDynamicEndpointCount();
   endPointAdminClient.addDynamicEndPoint(path, AXIOMUtil.stringToOM(ENDPOINT_XML));
   EndpointTestUtils.assertDynamicEndpointAddition(path, beforeCount, endPointAdminClient);
 }
コード例 #2
0
 private void dynamicEndpointDeletionScenario(String path)
     throws RemoteException, EndpointAdminEndpointAdminException {
   int beforeCount = endPointAdminClient.getDynamicEndpointCount();
   endPointAdminClient.deleteDynamicEndpoint(path);
   EndpointTestUtils.assertDynamicEndpointDeletion(beforeCount, endPointAdminClient);
 }
コード例 #3
0
 private void cleanupEndpoints() throws RemoteException, EndpointAdminEndpointAdminException {
   EndpointTestUtils.cleanupDynamicEndpoint(ENDPOINT_PATH_1, endPointAdminClient);
   EndpointTestUtils.cleanupDynamicEndpoint(ENDPOINT_PATH_2, endPointAdminClient);
 }