public interface PersistenceProviderResolver
Implementations must be thread-safe.
Note that the getPersistenceProviders
method can potentially
be called many times: it is recommended that the implementation
of this method make use of caching.
PersistenceProvider
Modifier and Type | Method and Description |
---|---|
void |
clearCachedProviders()
Clear cache of providers.
|
List<PersistenceProvider> |
getPersistenceProviders()
Returns a list of the
PersistenceProvider implementations
available in the runtime environment. |
List<PersistenceProvider> getPersistenceProviders()
PersistenceProvider
implementations
available in the runtime environment.void clearCachedProviders()
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.