org.hydrateframework.ejb
Class EntityManagerFactoryImpl

java.lang.Object
  extended by org.hydrateframework.ejb.EntityManagerFactoryImpl
All Implemented Interfaces:
javax.persistence.EntityManagerFactory

public class EntityManagerFactoryImpl
extends java.lang.Object
implements javax.persistence.EntityManagerFactory


Constructor Summary
EntityManagerFactoryImpl(java.lang.String name, java.lang.String[] classNameArray, java.util.Properties props)
           
 
Method Summary
 void close()
           
 javax.persistence.EntityManager createEntityManager()
           
 javax.persistence.EntityManager createEntityManager(java.util.Map arg0)
           
static EntityManagerFactoryImpl getInstance(java.lang.String name, java.lang.String[] classNameArray, java.util.Properties props)
           
 boolean isOpen()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityManagerFactoryImpl

public EntityManagerFactoryImpl(java.lang.String name,
                                java.lang.String[] classNameArray,
                                java.util.Properties props)
Method Detail

getInstance

public static EntityManagerFactoryImpl getInstance(java.lang.String name,
                                                   java.lang.String[] classNameArray,
                                                   java.util.Properties props)

createEntityManager

public javax.persistence.EntityManager createEntityManager()
Specified by:
createEntityManager in interface javax.persistence.EntityManagerFactory

close

public void close()
Specified by:
close in interface javax.persistence.EntityManagerFactory

isOpen

public boolean isOpen()
Specified by:
isOpen in interface javax.persistence.EntityManagerFactory

createEntityManager

public javax.persistence.EntityManager createEntityManager(java.util.Map arg0)
Specified by:
createEntityManager in interface javax.persistence.EntityManagerFactory


Copyright © 2000 The Hydrate Project. All Rights Reserved.