public void clearCachedDeploymentSpecificProviders ( Set < ClassLoader > deploymentClassLoaders ) { synchronized ( persistenceProviderPerClassLoader ) { for ( ClassLoader deploymentClassLoader : deploymentClassLoaders ) { persistenceProviderPerClassLoader . remove ( deploymentClassLoader ) ; } } }
Cleared at application undeployment time to remove any persistence providers that were deployed with the application