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: GetPMFByResourceAndClassLoader [javadoc | source]
java.lang.Object
   org.apache.jdo.tck.JDO_Test
      org.apache.jdo.tck.api.persistencemanagerfactory.AbstractGetPMF
         org.apache.jdo.tck.api.persistencemanagerfactory.GetPMFByResourceAndClassLoader
Title:GetPMFByResourceAndClassLoader of PersistenceManagerFactory
Keywords: persistencemanagerfactory
Assertion IDs: A8.6-16.
Assertion Description: Uses the parameter(s) passed as arguments to construct a Properties instance, and then delegates to the static method getPersistenceManagerFactory in the class named in the property javax.jdo.PersistenceManagerFactoryClass. If there are any exceptions while trying to construct the Properties instance or to call the static method, then either A8.6-4 [JDOFatalUserException] or A8.6-5 [JDOFatalInternalException is thrown], depending on whether the exception is due to the user or the implementation. The nested exception indicates the cause of the exception.
Fields inherited from org.apache.jdo.tck.api.persistencemanagerfactory.AbstractGetPMF:
validPropertiesFile,  invalidPropertiesFile,  jndiName
Method from org.apache.jdo.tck.api.persistencemanagerfactory.GetPMFByResourceAndClassLoader Summary:
getPMF,   main,   testInvalidGetPMF,   testValidGetPMF
Methods from org.apache.jdo.tck.api.persistencemanagerfactory.AbstractGetPMF:
checkGetPMFWithInvalidProperties,   checkGetPMFWithValidProperties,   getGetMethod,   getPMF,   getValue,   makePersistent,   removePathPrefix,   verifyProperties
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.tck.api.persistencemanagerfactory.GetPMFByResourceAndClassLoader Detail:
 protected PersistenceManagerFactory getPMF(String name) 
 public static  void main(String[] args) 
    The main is called when the class is directly executed from the command line.
 public  void testInvalidGetPMF() 
 public  void testValidGetPMF()