}
RegistryService rs = connection.getRegistryService();
BusinessLifeCycleManager blm = rs.getBusinessLifeCycleManager();
Collection<Key> serviceKeys = new ArrayList<Key>();
serviceKeys.add(service.getKey());
blm.deleteServices(serviceKeys);
} catch (JAXRException je) {
throw new RegistryException(je.getLocalizedMessage(), je);
} finally {
JAXRConnectionSingleton.recycleConnection(jaxrConnectionFactory, connection);
}