Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.jpa.spi.se » [javadoc | source]
public class: JPAServicePersistenceImpl [javadoc | source]

All Implemented Interfaces:

SPI Implementation which accesses the PersistenceManagerFactory via the Persistence class
Field Summary
public static final  String SINGLETON_WEBBEANS_ENTITYMANAGERS_MAP     
Method from org.apache.webbeans.jpa.spi.se.JPAServicePersistenceImpl Summary:
getPersistenceContext,   getPersistenceUnit
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.webbeans.jpa.spi.se.JPAServicePersistenceImpl Detail:
 public EntityManager getPersistenceContext(String unitName,
    String name) 
    {@inheritDoc} TODO: currently this returns an extended EntityManager, so we have to wrap it We have to create a Proxy for injecting entity managers. So, whenever method is called on the entity managers, look at current Transaction, if exist call joinTransaction();
 public EntityManagerFactory getPersistenceUnit(String unitName)