Author: dkulp
Date: Fri Feb 3 15:23:37 2012
New Revision: 1240212
URL: http://svn.apache.org/viewvc?rev=1240212&view=rev
Log:
Split the namespace handlers into multiple services so that the bundle
plugin can generate a correct Export-Service header in the manifest
Modified:
cxf/trunk/rt/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml
cxf/trunk/rt/ws/policy/src/main/resources/OSGI-INF/blueprint/policy.xml
Modified: cxf/trunk/rt/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml?rev=1240212&r1=1240211&r2=1240212&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml
(original)
+++ cxf/trunk/rt/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml Fri
Feb 3 15:23:37 2012
@@ -22,16 +22,21 @@
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
- <service interface="org.apache.aries.blueprint.NamespaceHandler">
+ <bean id="CXFCoreNamespaceHandler"
class="org.apache.cxf.bus.blueprint.CXFCoreNamespaceHandler"/>
+
+ <service ref="CXFCoreNamespaceHandler"
interface="org.apache.aries.blueprint.NamespaceHandler">
+ <service-properties>
+ <entry key="osgi.service.blueprint.namespace"
value="http://cxf.apache.org/blueprint/core"/>
+ </service-properties>
+ </service>
+ <service ref="CXFCoreNamespaceHandler"
interface="org.apache.aries.blueprint.NamespaceHandler">
+ <service-properties>
+ <entry key="osgi.service.blueprint.namespace"
value="http://cxf.apache.org/configuration/beans"/>
+ </service-properties>
+ </service>
+ <service ref="CXFCoreNamespaceHandler"
interface="org.apache.aries.blueprint.NamespaceHandler">
<service-properties>
- <entry key="osgi.service.blueprint.namespace">
- <list>
- <value>http://cxf.apache.org/blueprint/core</value>
- <value>http://cxf.apache.org/configuration/beans</value>
-
<value>http://cxf.apache.org/configuration/parameterized-types</value>
- </list>
- </entry>
+ <entry key="osgi.service.blueprint.namespace"
value="http://cxf.apache.org/configuration/parameterized-types"/>
</service-properties>
- <bean class="org.apache.cxf.bus.blueprint.CXFCoreNamespaceHandler"/>
</service>
</blueprint>
\ No newline at end of file
Modified:
cxf/trunk/rt/ws/policy/src/main/resources/OSGI-INF/blueprint/policy.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/main/resources/OSGI-INF/blueprint/policy.xml?rev=1240212&r1=1240211&r2=1240212&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/main/resources/OSGI-INF/blueprint/policy.xml
(original)
+++ cxf/trunk/rt/ws/policy/src/main/resources/OSGI-INF/blueprint/policy.xml Fri
Feb 3 15:23:37 2012
@@ -22,17 +22,26 @@
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
- <service interface="org.apache.aries.blueprint.NamespaceHandler">
+ <bean id="PolicyBPHandler"
class="org.apache.cxf.ws.policy.blueprint.PolicyBPHandler"/>
+
+ <service ref="PolicyBPHandler"
interface="org.apache.aries.blueprint.NamespaceHandler">
<service-properties>
- <entry key="osgi.service.blueprint.namespace">
- <list>
- <value>http://cxf.apache.org/policy</value>
- <value>http://www.w3.org/ns/ws-policy</value>
- <value>http://www.w3.org/2006/07/ws-policy</value>
- <value>http://schemas.xmlsoap.org/ws/2004/09/policy</value>
- </list>
- </entry>
+ <entry key="osgi.service.blueprint.namespace"
value="http://cxf.apache.org/policy"/>
+ </service-properties>
+ </service>
+ <service ref="PolicyBPHandler"
interface="org.apache.aries.blueprint.NamespaceHandler">
+ <service-properties>
+ <entry key="osgi.service.blueprint.namespace"
value="http://www.w3.org/ns/ws-policy"/>
+ </service-properties>
+ </service>
+ <service ref="PolicyBPHandler"
interface="org.apache.aries.blueprint.NamespaceHandler">
+ <service-properties>
+ <entry key="osgi.service.blueprint.namespace"
value="http://www.w3.org/2006/07/ws-policy"/>
+ </service-properties>
+ </service>
+ <service ref="PolicyBPHandler"
interface="org.apache.aries.blueprint.NamespaceHandler">
+ <service-properties>
+ <entry key="osgi.service.blueprint.namespace"
value="http://schemas.xmlsoap.org/ws/2004/09/policy"/>
</service-properties>
- <bean class="org.apache.cxf.ws.policy.blueprint.PolicyBPHandler"/>
</service>
</blueprint>
\ No newline at end of file