[ 
https://issues.apache.org/jira/browse/JDO-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Craig Russell updated JDO-607:
------------------------------

    Attachment: jdo-607.patch

Please review this patch. It adds the methods getPersistenceManagerFactory(Map) 
and getPersistenceManagerFactory(Map,Map) to the PersistenceManagerFactory 
interface to enable the Java 6 ServiceLoader technique.

> Require no-args constructor for PMF implementations and add static methods to 
> PMF interface
> -------------------------------------------------------------------------------------------
>
>                 Key: JDO-607
>                 URL: https://issues.apache.org/jira/browse/JDO-607
>             Project: JDO
>          Issue Type: New Feature
>          Components: api2
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Craig Russell
>            Assignee: Craig Russell
>             Fix For: JDO 2 maintenance release 2
>
>         Attachments: jdo-607.patch
>
>
> In order to use Java 6 ServiceLoader to instantiate PMF, the class needs to 
> implement a no-args constructor, and the PMF interface needs to define the 
> methods that are currently static (and therefore not defined in the 
> interface). 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to