/** * {@inheritDoc} */ public synchronized void undeployResource(Object resource) throws Exception { ResourceAdapterConfig domainConfig = (com.sun.enterprise.config.serverbeans.ResourceAdapterConfig) resource; String rarName = domainConfig.getResourceAdapterName(); ConnectorRuntime crt = ConnectorRuntime.getRuntime(); crt.deleteResourceAdapterConfig(rarName); }