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/10/30 06:52:26 UTC

Issue 134: Missing method in JDOHelper specification

Javadogs,

This should be non-controversial. There is a method missing from the  
JDOHelper chapter that is already implemented in the current working  
version used in the Apache project. I propose to fix the  
specification as follows:

<proposal>
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.
</proposal>

Comments?

Craig