You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by dk...@apache.org on 2013/01/15 17:55:10 UTC

svn commit: r1433515 - /aries/trunk/blueprint/blueprint-core/src/main/resources/OSGI-INF/blueprint/blueprint-ext.xml

Author: dkulp
Date: Tue Jan 15 16:55:10 2013
New Revision: 1433515

URL: http://svn.apache.org/viewvc?rev=1433515&view=rev
Log:
Make sure the namespaces are all exported properly.

Modified:
    aries/trunk/blueprint/blueprint-core/src/main/resources/OSGI-INF/blueprint/blueprint-ext.xml

Modified: aries/trunk/blueprint/blueprint-core/src/main/resources/OSGI-INF/blueprint/blueprint-ext.xml
URL: http://svn.apache.org/viewvc/aries/trunk/blueprint/blueprint-core/src/main/resources/OSGI-INF/blueprint/blueprint-ext.xml?rev=1433515&r1=1433514&r2=1433515&view=diff
==============================================================================
--- aries/trunk/blueprint/blueprint-core/src/main/resources/OSGI-INF/blueprint/blueprint-ext.xml (original)
+++ aries/trunk/blueprint/blueprint-core/src/main/resources/OSGI-INF/blueprint/blueprint-ext.xml Tue Jan 15 16:55:10 2013
@@ -18,20 +18,23 @@
 
 -->
 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" default-activation="lazy">
+    <bean id="ExtNamespaceHandler" class="org.apache.aries.blueprint.ext.impl.ExtNamespaceHandler">
+        <property name="bundleContext" ref="blueprintBundleContext"/>
+    </bean>
 
-    <service interface="org.apache.aries.blueprint.NamespaceHandler">
+    <service ref="ExtNamespaceHandler" interface="org.apache.aries.blueprint.NamespaceHandler">
         <service-properties>
-            <entry key="osgi.service.blueprint.namespace">
-              <array>
-                <value>http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0</value>
-                <value>http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.1.0</value>
-                <value>http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.2.0</value>
-              </array>
-            </entry>
+            <entry key="osgi.service.blueprint.namespace" value="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"/>
+        </service-properties>
+    </service>
+    <service ref="ExtNamespaceHandler" interface="org.apache.aries.blueprint.NamespaceHandler">
+        <service-properties>
+            <entry key="osgi.service.blueprint.namespace" value="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.1.0"/>
+        </service-properties>
+    </service>
+    <service ref="ExtNamespaceHandler" interface="org.apache.aries.blueprint.NamespaceHandler">
+        <service-properties>
+            <entry key="osgi.service.blueprint.namespace" value="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.2.0"/>
         </service-properties>
-        <bean class="org.apache.aries.blueprint.ext.impl.ExtNamespaceHandler">
-            <property name="bundleContext" ref="blueprintBundleContext"/>
-        </bean>
     </service>
-    
 </blueprint>