[
https://issues.apache.org/jira/browse/JDO-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michelle Caisse reassigned JDO-556:
-----------------------------------
Assignee: Matthew T. Adams (was: Michelle Caisse)
It's not clear how this can be implemented in that the ServiceLoader api
requires a no-args constructor:
(from the javadoc) "The only requirement enforced by this facility is that
provider classes must have a zero-argument constructor so that they can be
instantiated during loading."
In JDO 2.1, there is no such requirement for PersistenceManagerFactory.
> JDOHelper should use Java 6 ServiceLoader if available
> ------------------------------------------------------
>
> Key: JDO-556
> URL: https://issues.apache.org/jira/browse/JDO-556
> Project: JDO
> Issue Type: Improvement
> Components: api2
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Matthew T. Adams
> Assignee: Matthew T. Adams
> Fix For: JDO 2 maintenance release 1
>
>
> If the Java 6 class java.util.ServiceLoader<S> is found, it should be used
> for META-INF/services/javax.jdo.PersistenceManagerFactory lookup.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.