Package jakarta.persistence.spi
Interface PersistenceProviderResolver
- 
 public interface PersistenceProviderResolverDetermine the list of persistence providers available in the runtime environment.Implementations must be thread-safe. Note that the getPersistenceProvidersmethod can potentially be called many times: it is recommended that the implementation of this method make use of caching.- Since:
- 2.0
- See Also:
- PersistenceProvider
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearCachedProviders()Clear cache of providers.List<PersistenceProvider>getPersistenceProviders()Returns a list of thePersistenceProviderimplementations available in the runtime environment.
 
- 
- 
- 
Method Detail- 
getPersistenceProvidersList<PersistenceProvider> getPersistenceProviders() Returns a list of thePersistenceProviderimplementations available in the runtime environment.- Returns:
- list of the persistence providers available in the environment
 
 - 
clearCachedProvidersvoid clearCachedProviders() Clear cache of providers.
 
- 
 
-