org.apache.aries.jpa.blueprint.itest
Class JPATestBean
java.lang.Object
org.apache.aries.jpa.blueprint.itest.JPATestBean
public class JPATestBean
- extends Object
Constructor Summary |
JPATestBean()
|
JPATestBean(javax.persistence.EntityManagerFactory constructorEMF,
javax.persistence.EntityManager constructorEM)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPATestBean
public JPATestBean(javax.persistence.EntityManagerFactory constructorEMF,
javax.persistence.EntityManager constructorEM)
JPATestBean
public JPATestBean()
setPersistenceUnit
public void setPersistenceUnit(javax.persistence.EntityManagerFactory emf)
setPersistenceContext
public void setPersistenceContext(javax.persistence.EntityManager em)
pUnitAvailable
public boolean pUnitAvailable()
- Returns:
- True if we sucessfully called a method on the EMF
pContextAvailable
public boolean pContextAvailable()
- Returns:
- True if we sucessfully called a method on the EM
constructorPUnitAvailable
public boolean constructorPUnitAvailable()
- Returns:
- True if we sucessfully called a method on the EMF
constructorPContextAvailable
public boolean constructorPContextAvailable()
- Returns:
- True if we sucessfully called a method on the EM
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.