Skip navigation links

Oracle TopLink Java API Reference
10g Release 3 (10.1.3.1)

B28219-01


oracle.toplink.sessions.entitymanager.spi
Interface EntityManagerFactoryProvider

All Known Implementing Classes:
EntityManagerFactoryProvider

public interface EntityManagerFactoryProvider

Persistence.createEntityManagerFactory(java.util.Map) will create a new EntityManagerFactoryProvider of the type specified in the "javax.persistence.provider" setting. This setting is the full class name of the EntityManagerFactoryProvider to construct. Then, the Persistence class will invoke createEntityManagerFactory(java.util.Map) on the provider, with a copy of the map passed to Persistence.createEntityManagerFactory(java.util.Map) merged with the contents of the persistence.properties resource, as loaded by the Persistence class. Implementations of this interface must have a public no-args constructor.


Method Summary
 EntityManagerFactory createEntityManagerFactory(java.util.Map m)
           

 

Method Detail

createEntityManagerFactory

public EntityManagerFactory createEntityManagerFactory(java.util.Map m)
See Also:
{@link Persistence#createEntityManagerFactory}.

Skip navigation links

Copyright © 1998, 2006, Oracle. All Rights Reserved.