You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2008/04/01 15:54:01 UTC

svn commit: r643402 - in /servicemix/smx4/features/trunk/ejb3: cxf-binding-nmr/ cxf-binding-nmr/src/main/resources/META-INF/ cxf-binding-nmr/src/main/resources/META-INF/cxf/ cxf-binding-nmr/src/main/resources/META-INF/cxf/binding/ cxf-binding-nmr/src/m...

Author: gnodet
Date: Tue Apr  1 06:53:53 2008
New Revision: 643402

URL: http://svn.apache.org/viewvc?rev=643402&view=rev
Log:
Add cxf config files for the NMR transport and binding

Added:
    servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/src/main/resources/META-INF/
    servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/src/main/resources/META-INF/cxf/
    servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/src/main/resources/META-INF/cxf/binding/
    servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/src/main/resources/META-INF/cxf/binding/nmr/
    servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/src/main/resources/META-INF/cxf/binding/nmr/cxf-binding-nmr.xml
    servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/src/main/resources/META-INF/
    servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/src/main/resources/META-INF/cxf/
    servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/src/main/resources/META-INF/cxf/transport/
    servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/src/main/resources/META-INF/cxf/transport/nmr/
    servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/src/main/resources/META-INF/cxf/transport/nmr/cxf-transport-nmr.xml
Modified:
    servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/pom.xml
    servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/pom.xml
    servicemix/smx4/features/trunk/ejb3/cxf-transport-osgi/pom.xml

Modified: servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/pom.xml?rev=643402&r1=643401&r2=643402&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/pom.xml (original)
+++ servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/pom.xml Tue Apr  1 06:53:53 2008
@@ -75,8 +75,12 @@
                         </Import-Package>
                         <!-- Needed for jaxb annotations classes -->
                         <DynamicImport-Package>*</DynamicImport-Package>
-                        <Export-Package>${pom.artifactId}*</Export-Package>
+                        <Export-Package>
+                            ${pom.artifactId}*,
+                            '=META-INF.cxf.binding.nmr'
+                        </Export-Package>
                         <Private-Package></Private-Package>
+                        <_failok>true</_failok>
                         <Spring-Context>*;publish-context:=false</Spring-Context>
                     </instructions>
                 </configuration>

Added: servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/src/main/resources/META-INF/cxf/binding/nmr/cxf-binding-nmr.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/src/main/resources/META-INF/cxf/binding/nmr/cxf-binding-nmr.xml?rev=643402&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/src/main/resources/META-INF/cxf/binding/nmr/cxf-binding-nmr.xml (added)
+++ servicemix/smx4/features/trunk/ejb3/cxf-binding-nmr/src/main/resources/META-INF/cxf/binding/nmr/cxf-binding-nmr.xml Tue Apr  1 06:53:53 2008
@@ -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.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+    <bean class="org.apache.servicemix.cxf.binding.nmr.NMRBindingFactory"
+	      id="org.apache.servicemix.cxf.binding.nmr.NMRBindingFactory"
+	      lazy-init="true">
+        <property name="bus" ref="cxf"/>
+        <property name="activationNamespaces">
+            <set>
+                <value>http://cxf.apache.org/bindings/nmr</value>
+            </set>
+        </property>
+    </bean>
+
+</beans>

Modified: servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/pom.xml?rev=643402&r1=643401&r2=643402&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/pom.xml (original)
+++ servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/pom.xml Tue Apr  1 06:53:53 2008
@@ -75,8 +75,12 @@
                         </Import-Package>
                         <!-- Needed for jaxb annotations classes -->
                         <DynamicImport-Package>*</DynamicImport-Package>
-                        <Export-Package>${pom.artifactId}*</Export-Package>
+                        <Export-Package>
+                            ${pom.artifactId}*,
+                            '=META-INF.cxf.transport.nmr'
+                        </Export-Package>
                         <Private-Package></Private-Package>
+                        <_failok>true</_failok>
                         <Spring-Context>*;publish-context:=false</Spring-Context>
                     </instructions>
                 </configuration>

Added: servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/src/main/resources/META-INF/cxf/transport/nmr/cxf-transport-nmr.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/src/main/resources/META-INF/cxf/transport/nmr/cxf-transport-nmr.xml?rev=643402&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/src/main/resources/META-INF/cxf/transport/nmr/cxf-transport-nmr.xml (added)
+++ servicemix/smx4/features/trunk/ejb3/cxf-transport-nmr/src/main/resources/META-INF/cxf/transport/nmr/cxf-transport-nmr.xml Tue Apr  1 06:53:53 2008
@@ -0,0 +1,41 @@
+<?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.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:osgi="http://www.springframework.org/schema/osgi"
+       xsi:schemaLocation="
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+http://www.springframework.org/schema/osgi  http://www.springframework.org/schema/osgi/spring-osgi.xsd">
+
+    <bean class="org.apache.servicemix.cxf.transport.nmr.NMRTransportFactory"
+	      id="org.apache.servicemix.cxf.transport.nmr.NMRTransportFactory"
+	      lazy-init="true">
+        <property name="bus" ref="cxf"/>
+        <property name="nmr" ref="nmr"/>
+        <property name="transportIds">
+            <list>
+                <value>http://cxf.apache.org/transports/nmr</value>
+                <value>http://cxf.apache.org/transports/nmr/configuration</value>
+            </list>
+        </property>
+    </bean>
+
+    <osgi:reference id="nmr" interface="org.apache.servicemix.nmr.api.NMR"/>
+</beans>

Modified: servicemix/smx4/features/trunk/ejb3/cxf-transport-osgi/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/ejb3/cxf-transport-osgi/pom.xml?rev=643402&r1=643401&r2=643402&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/ejb3/cxf-transport-osgi/pom.xml (original)
+++ servicemix/smx4/features/trunk/ejb3/cxf-transport-osgi/pom.xml Tue Apr  1 06:53:53 2008
@@ -79,6 +79,7 @@
                             '=META-INF.cxf.osgi'
                         </Export-Package>
                         <_failok>true</_failok>
+                        <Spring-Context>*;publish-context:=false</Spring-Context>
                     </instructions>
                 </configuration>
             </plugin>