Save This Page
Home » apache-openjpa-1.1.0-source » org.apache.openjpa » persistence » [javadoc | source]
org.apache.openjpa.persistence
public class: EntityManagerFactoryImpl [javadoc | source]
java.lang.Object
   org.apache.openjpa.persistence.EntityManagerFactoryImpl

All Implemented Interfaces:
    OpenJPAEntityManagerFactory, Closeable, OpenJPAEntityManagerFactorySPI

Implementation of EntityManagerFactory that acts as a facade to a BrokerFactory .
Constructor:
 public EntityManagerFactoryImpl() 
 public EntityManagerFactoryImpl(BrokerFactory factory) 
    Supply delegate on construction.
Method from org.apache.openjpa.persistence.EntityManagerFactoryImpl Summary:
addLifecycleListener,   addTransactionListener,   close,   createEntityManager,   createEntityManager,   equals,   getBrokerFactory,   getConfiguration,   getProperties,   getQueryResultCache,   getStoreCache,   getStoreCache,   getUserObject,   hashCode,   isOpen,   newEntityManagerImpl,   putUserObject,   removeLifecycleListener,   removeTransactionListener,   setBrokerFactory,   toFetchPlan
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openjpa.persistence.EntityManagerFactoryImpl Detail:
 public  void addLifecycleListener(Object listener,
    Class classes) 
 public  void addTransactionListener(Object listener) 
 public  void close() 
 public OpenJPAEntityManagerSPI createEntityManager() 
 public OpenJPAEntityManagerSPI createEntityManager(Map props) 
 public boolean equals(Object other) 
 public BrokerFactory getBrokerFactory() 
    Delegate.
 public OpenJPAConfiguration getConfiguration() 
 public Properties getProperties() 
 public QueryResultCache getQueryResultCache() 
 public StoreCache getStoreCache() 
 public StoreCache getStoreCache(String cacheName) 
 public Object getUserObject(Object key) 
 public int hashCode() 
 public boolean isOpen() 
 protected EntityManagerImpl newEntityManagerImpl(Broker broker) 
    Create a new entity manager around the given broker.
 public Object putUserObject(Object key,
    Object val) 
 public  void removeLifecycleListener(Object listener) 
 public  void removeTransactionListener(Object listener) 
 public  void setBrokerFactory(BrokerFactory factory) 
    Delegate must be provided before use.
 FetchPlan toFetchPlan(Broker broker,
    FetchConfiguration fetch) 
    Create a store-specific facade for the given fetch configuration. If no facade class exists, we use the default FetchPlan .