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

Reply via email to