aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuomas Kiviaho (JIRA)" <>
Subject [jira] [Created] (ARIES-970) EntityManager service factory
Date Wed, 21 Nov 2012 11:47:58 GMT
Tuomas Kiviaho created ARIES-970:

             Summary: EntityManager service factory 
                 Key: ARIES-970
             Project: Aries
          Issue Type: New Feature
          Components: JPA
            Reporter: Tuomas Kiviaho

It is fairly simple to utilize GlobalPersistenceManager via ServiceFactory interface to register
contexts when asked for. Couple of things would make this more robust.

1) Introduction/Implementation of PersistenceContextProvider.unregisterContext() which would
require counting of registration calls so that unregistration would not be premature.
2) Returning of EntityManagerFactory from PersistenceContextProvider.registerContext call
which omit the roundtrip via bundle context

I guess that container context project could provide this kind of implementation out of the
box to support other than blueprint environments

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message