You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by Craig L Russell <Cr...@Sun.COM> on 2005/11/15 21:03:15 UTC

Negative VOTE Issue 132: Add getPersistenceManagerFactory method

Javadogs,

Please reply if you have an issue with this.

A method is missing from the specification. It is in the JDOHelper  
class currently in the Apache repository.

A8.6-21[public static PersistenceManagerFactory  
getPersistenceManagerFactory(String propsResourceName, ClassLoader  
propsLoader, ClassLoader pmfLoader);]

The method taking a String as the propsResourceName argument uses the  
propsLoader to load the properties and uses the pmfLoader to resolve  
the PersistenceManagerFactory class name. The method taking a String  
as the propsResourceName argument with one ClassLoader uses the  
parameter ClassLoader to load both the properties and the  
PersistenceManagerFactory class name.The method taking a String alone  
uses the context class loader for both purposes.

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!