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 "Matthew T. Adams (JIRA)" <ji...@apache.org> on 2007/11/26 20:30:43 UTC

[jira] Created: (JDO-556) JDOHelper should use Java 6 ServiceLoader if available

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.


[jira] Commented: (JDO-556) JDOHelper should use Java 6 ServiceLoader if available

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JDO-556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622911#action_12622911 ] 

Craig Russell commented on JDO-556:
-----------------------------------

The prerequisite for this feature is a no-args constructor for PMF. Assigning this to Craig for this small part.

> 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: Craig Russell
>             Fix For: JDO 2 maintenance release 2
>
>
> 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.


[jira] Assigned: (JDO-556) JDOHelper should use Java 6 ServiceLoader if available

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Russell reassigned JDO-556:
---------------------------------

    Assignee: Michelle Caisse  (was: Matthew T. Adams)

If possible to implement in time.

> 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: Michelle Caisse
>             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.


[jira] Updated: (JDO-556) JDOHelper should use Java 6 ServiceLoader if available

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s:     (was: JDO 2 maintenance release 1)

Removing this item from the JDO 2.1 candidate list.

> 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
>
> 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.


[jira] Assigned: (JDO-556) JDOHelper should use Java 6 ServiceLoader if available

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Russell reassigned JDO-556:
---------------------------------

    Assignee: Craig Russell  (was: Matthew T. Adams)

> 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: Craig Russell
>             Fix For: JDO 2 maintenance release 2
>
>
> 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.


[jira] Assigned: (JDO-556) JDOHelper should use Java 6 ServiceLoader if available

Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (JDO-556) JDOHelper should use Java 6 ServiceLoader if available

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: JDO 2 maintenance release 2

> 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 2
>
>
> 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.


[jira] Updated: (JDO-556) JDOHelper should use Java 6 ServiceLoader if available

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s:     (was: JDO 2 maintenance release 3)

Defer to future release.


> 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: Craig Russell
>
> 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.


[jira] Updated: (JDO-556) JDOHelper should use Java 6 ServiceLoader if available

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s:     (was: JDO 2 maintenance release 2)
                   JDO 2 maintenance release 3

> 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: Craig Russell
>             Fix For: JDO 2 maintenance release 3
>
>
> 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.