db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig L Russell (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JDO-556) JDOHelper should use Java 6 ServiceLoader if available
Date Mon, 16 Jan 2012 22:11:39 GMT

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

Craig L Russell updated JDO-556:
--------------------------------

    Attachment: pmfservice.patch

Please review this patch.

This patch implements the proposed PersistenceManagerFactoryService change. 

The JDOHelper class already implemented the Java 6 services technique but it was flawed due
to the name of the services interface.

                
> 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: api
>    Affects Versions: JDO 2 maintenance release 1 (2.1)
>            Reporter: Matthew T. Adams
>            Assignee: Craig L Russell
>         Attachments: pmfservice.patch
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message