Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.resource.spi.se » [javadoc | source]
org.apache.webbeans.resource.spi.se
public class: JPAServicePersistenceImpl [javadoc | source]
java.lang.Object
   org.apache.webbeans.resource.spi.se.JPAServicePersistenceImpl
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.resource.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.resource.spi.se.JPAServicePersistenceImpl Detail:
 public EntityManager getPersistenceContext(String unitName) 
    {@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) 
    {@inheritDoc}