org.apache.openejb.persistence
Class JtaEntityManagerRegistry.EntityManagerTracker
java.lang.Object
org.apache.openejb.persistence.JtaEntityManagerRegistry.EntityManagerTracker
- Enclosing class:
- JtaEntityManagerRegistry
public static class JtaEntityManagerRegistry.EntityManagerTracker
- extends Object
This object is used track all EntityManagers inherited in order
to effectively close it when the latest Extended persistence context
is no more accessed.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JtaEntityManagerRegistry.EntityManagerTracker
public JtaEntityManagerRegistry.EntityManagerTracker(javax.persistence.EntityManager entityManager)
incCounter
public int incCounter()
decCounter
public int decCounter()
getEntityManager
public javax.persistence.EntityManager getEntityManager()
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.