You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ti...@apache.org on 2010/02/25 11:25:25 UTC

svn commit: r916224 - in /incubator/aries/trunk/jpa/jpa-blueprint-aries/src: ./ main/ main/resources/ main/resources/META-INF/ main/resources/META-INF/blueprint/ main/resources/META-INF/blueprint/jpa.xml

Author: timothyjward
Date: Thu Feb 25 10:25:25 2010
New Revision: 916224

URL: http://svn.apache.org/viewvc?rev=916224&view=rev
Log:
ARIES-202 : Separate the JPA blueprint integration from managed persistence contexts

Added:
    incubator/aries/trunk/jpa/jpa-blueprint-aries/src/
    incubator/aries/trunk/jpa/jpa-blueprint-aries/src/main/
    incubator/aries/trunk/jpa/jpa-blueprint-aries/src/main/resources/
    incubator/aries/trunk/jpa/jpa-blueprint-aries/src/main/resources/META-INF/
    incubator/aries/trunk/jpa/jpa-blueprint-aries/src/main/resources/META-INF/blueprint/
    incubator/aries/trunk/jpa/jpa-blueprint-aries/src/main/resources/META-INF/blueprint/jpa.xml

Added: incubator/aries/trunk/jpa/jpa-blueprint-aries/src/main/resources/META-INF/blueprint/jpa.xml
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/jpa/jpa-blueprint-aries/src/main/resources/META-INF/blueprint/jpa.xml?rev=916224&view=auto
==============================================================================
--- incubator/aries/trunk/jpa/jpa-blueprint-aries/src/main/resources/META-INF/blueprint/jpa.xml (added)
+++ incubator/aries/trunk/jpa/jpa-blueprint-aries/src/main/resources/META-INF/blueprint/jpa.xml Thu Feb 25 10:25:25 2010
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+            
+  <service interface="org.apache.aries.blueprint.NamespaceHandler">
+    <service-properties>
+      <entry key="osgi.service.blueprint.namespace" value="http://aries.apache.org/xmlns/jpa/v1.0.0"/>
+    </service-properties>
+    <bean class="org.apache.aries.jpa.container.context.namespace.NSHandler">
+      <property name="manager" ref="persistenceContextProvider" />
+    </bean>
+  </service>
+  
+  <reference id="persistenceContextProvider" 
+       interface="org.apache.aries.jpa.container.context.PersistenceContextProvider"/>
+  
+</blueprint>
\ No newline at end of file