You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by cs...@apache.org on 2017/04/18 12:55:14 UTC

[22/50] aries-jpa git commit: [ARIES-1648] Add capabilities for EMF and EM services to container

[ARIES-1648] Add capabilities for EMF and EM services to container

git-svn-id: https://svn.apache.org/repos/asf/aries/trunk/jpa@1777349 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/aries-jpa/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-jpa/commit/ef62c045
Tree: http://git-wip-us.apache.org/repos/asf/aries-jpa/tree/ef62c045
Diff: http://git-wip-us.apache.org/repos/asf/aries-jpa/diff/ef62c045

Branch: refs/heads/master
Commit: ef62c04520024eea685f1e59b42ca69578488742
Parents: d5bbe7b
Author: cschneider <cs...@13f79535-47bb-0310-9956-ffa450edef68>
Authored: Wed Jan 4 17:18:38 2017 +0000
Committer: cschneider <cs...@13f79535-47bb-0310-9956-ffa450edef68>
Committed: Wed Jan 4 17:18:38 2017 +0000

----------------------------------------------------------------------
 jpa-container/osgi.bnd | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/ef62c045/jpa-container/osgi.bnd
----------------------------------------------------------------------
diff --git a/jpa-container/osgi.bnd b/jpa-container/osgi.bnd
index aed8b5a..859022c 100644
--- a/jpa-container/osgi.bnd
+++ b/jpa-container/osgi.bnd
@@ -3,5 +3,8 @@ Import-Package: \
     javax.persistence.spi;version="[1.1,3)", \
     *
 Bundle-Activator: org.apache.aries.jpa.container.impl.Activator
-Provide-Capability: osgi.extender;osgi.extender=aries.jpa;version:Version="${project.version.clean}"
+Provide-Capability: \
+    osgi.extender;osgi.extender=aries.jpa;version:Version="${project.version.clean}",\
+    osgi.service;objectClass=javax.persistence.EntityManagerFactory;effective:=active;uses:=javax.persistence,\
+    osgi.service;objectClass=org.osgi.service.jpa.EntityManagerFactoryBuilder;effective:=active";uses:=org.osgi.service.jpa
 Require-Capability: osgi.service;effective:=active;filter:="(objectClass=javax.persistence.spi.PersistenceProvider)"