db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Issue 134: Missing method in JDOHelper specification
Date Sun, 30 Oct 2005 05:52:26 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message