Save This Page
Home » jdo2-tck-2.3-ea-src » org.apache.jdo.tck.api.persistencemanagerfactory » [javadoc | source]
org.apache.jdo.tck.api.persistencemanagerfactory
public class: CloseFailsIfTransactionActive [javadoc | source]
java.lang.Object
   org.apache.jdo.tck.JDO_Test
      org.apache.jdo.tck.api.persistencemanagerfactory.CloseFailsIfTransactionActive
Title:CloseFailsIfTransactionActive of PersistenceManagerFactory
Keywords: persistencemanagerfactory
Assertion IDs: A11.4-4.
Assertion Description: PersistenceManagerFactory.getPersistenceManager() throws JDOUserException after the PersistenceManagerFactory is closed. The exception contains an array of nested exceptions; each nested exception contains as its failed object the PersistenceManager whose Transaction is still active. During close of the PersistenceManagerFactory, all PersistenceManager instances obtained from this PersistenceManagerFactory are themselves closed.
Field Summary
protected  boolean aborted     
Method from org.apache.jdo.tck.api.persistencemanagerfactory.CloseFailsIfTransactionActive Summary:
cleanupPMF,   getFailedPersistenceManagers,   isAborted,   main,   setAborted,   test
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.tck.api.persistencemanagerfactory.CloseFailsIfTransactionActive Detail:
 protected  void cleanupPMF(PersistenceManagerFactory pmf) 
 protected PersistenceManager[] getFailedPersistenceManagers(JDOException ex) 
 protected boolean isAborted() 
 public static  void main(String[] args) 
    The main is called when the class is directly executed from the command line.
 protected  void setAborted() 
 public  void test()