You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Tuomas Kiviaho (JIRA)" <ji...@apache.org> on 2012/11/21 12:47:58 UTC

[jira] [Created] (ARIES-970) EntityManager service factory

Tuomas Kiviaho created ARIES-970:
------------------------------------

             Summary: EntityManager service factory 
                 Key: ARIES-970
                 URL: https://issues.apache.org/jira/browse/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: http://www.atlassian.com/software/jira