JPA Interface

PersistenceProviderResolver


Provides a list of plain available in the runtime environment.

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.

See Also:
PersistenceProvider
Since:
JPA 2.0

Public Methods

Clear cache of providers.
Since:
JPA 2.0
Returns a list of the plain implementations available in the runtime environment.
Return:
list of the persistence providers available in the environment
Since:
JPA 2.0