javax.persistence.spi.PersistenceProviderResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jpa-api Show documentation
Show all versions of jpa-api Show documentation
Hibernate developmental JSR 317 (Java Persistence API 2.0) contracts. Used to
allow incremental implementation of features on the way to full JPA 2.0 support.
The newest version!
// $Id: PersistenceProviderResolver.java 16130 2009-03-10 14:28:07Z hardy.ferentschik $
// EJB3 Specification Copyright 2004-2009 Sun Microsystems, Inc.
package javax.persistence.spi;
import java.util.List;
/**
* 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.
*/
public interface PersistenceProviderResolver {
/**
* Returns a list of PersistenceProvider implementations
* available in the runtime environment.
*
* @return list of persistence providers available
* in the environment
*/
List getPersistenceProviders();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy