EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference

javax.persistence.spi
Interface PersistenceProviderResolver

All Known Implementing Classes:
Activator, PersistenceProviderResolverHolder.DefaultPersistenceProviderResolver

public interface PersistenceProviderResolver

Determine the list of persistence providers available in the runtime environment Persistence providers are identified by the presence of META-INF/services/javax.persistence.spi.PersistenceProvider files following the Service Provider pattern. Each META-INF/services/javax.persistence.spi.PersistenceProvider file contains the name of the provider implementation class of the javax.persistence.spi.PersistenceProvider interface. Implementations must be thread-safe.


Method Summary
 java.util.List<PersistenceProvider> getPersistenceProviders()
          Returns a list of PersistenceProvider implementations available in the runtime environment.
 

Method Detail

getPersistenceProviders

java.util.List<PersistenceProvider> getPersistenceProviders()
Returns a list of PersistenceProvider implementations available in the runtime environment.

Returns:
list of persistence providers available in the environment

EclipseLink 2.0.0_ 2.0.0.v20090424-r4050 API Reference