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 2008/08/15 20:37:02 UTC

ServiceLoader for JDO PersistenceManagerFactory

Re: https://issues.apache.org/jira/browse/JDO-556

In order to implement this feature, we will need to require that an  
implementation support a public constructor of the implementation  
class so that the getPersistenceManager(Map) and (Map, Map) can be  
invoked on the factory.

I'd like to propose that we update the specification to include this  
requirement. Any objections?

[The RI currently supports this feature, although there are no tests  
for it.]

Craig

Craig L 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!


Re: ServiceLoader for JDO PersistenceManagerFactory

Posted by Craig L Russell <Cr...@Sun.COM>.
Here's the proposed text for the specification update:

<proposed>
The PersistenceManagerFactory implementation class must implement a no- 
args constructor. This allows the standard Java 6 service discovery  
implementation to create a factory instance upon which the  
getPersistenceManagerFactory methods can be invoked.
</proposed>

Craig

On Aug 15, 2008, at 11:37 AM, Craig L Russell wrote:

> Re: https://issues.apache.org/jira/browse/JDO-556
>
> In order to implement this feature, we will need to require that an  
> implementation support a public constructor of the implementation  
> class so that the getPersistenceManager(Map) and (Map, Map) can be  
> invoked on the factory.
>
> I'd like to propose that we update the specification to include this  
> requirement. Any objections?
>
> [The RI currently supports this feature, although there are no tests  
> for it.]
>
> Craig
>
> Craig L 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!
>

Craig L 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!