stopService(DEFAULTDS_WRAPPER_DATA_SOURCE_SERVICE_OBJECT_NAME); stopService(DEFAULTDS_CONNECTION_MANAGER_OBJECT_NAME); stopService(DEFAULTDS_MANAGED_CONNECTION_POOL_OBJECT_NAME); stopService(CACHED_CONNECTION_MANAGER_OBJECT_NAME);
if (jca) { stopWrapperDataSourceService(); stopConnectionManager(DEFAULTDS_CONNECTION_MANAGER_OBJECT_NAME); stopManagedConnectionPool(DEFAULTDS_MANAGED_CONNECTION_POOL_OBJECT_NAME); stopManagedConnectionFactory(DEFAULTDS_MANAGED_CONNECTION_FACTORY_OBJECT_NAME); stopService(CACHED_CONNECTION_MANAGER_OBJECT_NAME); }
   public void stop() throws Exception   {      unloadJNDIContexts();      stopService(REMOTING_OBJECT_NAME);      stopService(DEFAULTDS_WRAPPER_DATA_SOURCE_SERVICE_OBJECT_NAME);      stopService(DEFAULTDS_CONNECTION_MANAGER_OBJECT_NAME);      stopService(DEFAULTDS_MANAGED_CONNECTION_POOL_OBJECT_NAME);      stopService(CACHED_CONNECTION_MANAGER_OBJECT_NAME);      stopService(TRANSACTION_MANAGER_OBJECT_NAME);      stopService(DEFAULTDS_MANAGED_CONNECTION_FACTORY_OBJECT_NAME);      if (database)      {         stopInVMDatabase();      }      unregisterClassLoader();      stopServiceController();      MBeanServerFactory.releaseMBeanServer(mbeanServer);      if (security)      {         initialContext.unbind(MockJBossSecurityManager.TEST_SECURITY_DOMAIN);      }      initialContext.close();      cleanJNDI();      if (jndiNamingFactory != null)      {         System.setProperty("java.naming.factory.initial", jndiNamingFactory);      }      log.debug(this + " stopped");   }