servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r583369 - in /incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src: main/java/org/apache/servicemix/cxfse/ test/java/org/apache/servicemix/cxfse/ test/resources/org/apache/servicemix/cxfse/ test/resources/org/apache/s...
Date Wed, 10 Oct 2007 06:46:06 GMT
Author: ffang
Date: Tue Oct  9 23:46:04 2007
New Revision: 583369

URL: http://svn.apache.org/viewvc?rev=583369&view=rev
Log:
add CxfSeXBeanDeployer and refactor CxfSeClientProxyTest with this deployer 

Added:
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpointComponentContext.java
  (with props)
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeXBeanDeployer.java
  (with props)
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/proxy/
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/proxy/xbean.xml
  (with props)
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/target/
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/target/xbean.xml
  (with props)
Removed:
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/client-proxy.xml
Modified:
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeComponent.java
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeProxyFactoryBean.java
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/CxfSeClientProxyTest.java

Modified: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeComponent.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeComponent.java?rev=583369&r1=583368&r2=583369&view=diff
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeComponent.java
(original)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeComponent.java
Tue Oct  9 23:46:04 2007
@@ -20,7 +20,9 @@
 
 import org.apache.cxf.Bus;
 import org.apache.cxf.BusFactory;
+import org.apache.servicemix.common.BaseServiceUnitManager;
 import org.apache.servicemix.common.DefaultComponent;
+import org.apache.servicemix.common.Deployer;
 
 /**
  * 
@@ -34,6 +36,10 @@
     private CxfSeEndpoint[] endpoints;
     private Bus bus;
     
+    public CxfSeComponent() {
+        
+    }
+    
     /**
      * @return the endpoints
      */
@@ -57,6 +63,16 @@
     protected Class[] getEndpointClasses() {
         return new Class[] {CxfSeEndpoint.class };
     }
+    
+    /* (non-Javadoc)
+     * @see org.servicemix.common.BaseComponent#createServiceUnitManager()
+     */
+    @Override
+    public BaseServiceUnitManager createServiceUnitManager() {
+        Deployer[] deployers = new Deployer[] {new CxfSeXBeanDeployer(this) };
+        return new BaseServiceUnitManager(this, deployers);
+    }
+
     
     @Override
     protected void doInit() throws Exception {

Added: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpointComponentContext.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpointComponentContext.java?rev=583369&view=auto
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpointComponentContext.java
(added)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpointComponentContext.java
Tue Oct  9 23:46:04 2007
@@ -0,0 +1,130 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.cxfse;
+
+import java.util.MissingResourceException;
+import java.util.logging.Logger;
+
+import javax.jbi.JBIException;
+import javax.jbi.component.ComponentContext;
+import javax.jbi.management.MBeanNames;
+import javax.jbi.messaging.DeliveryChannel;
+import javax.jbi.messaging.MessagingException;
+import javax.jbi.servicedesc.ServiceEndpoint;
+import javax.management.MBeanServer;
+import javax.naming.InitialContext;
+import javax.xml.namespace.QName;
+
+import org.w3c.dom.Document;
+import org.w3c.dom.DocumentFragment;
+
+public class CxfSeEndpointComponentContext implements ComponentContext {
+    private ComponentContext context;
+    private DeliveryChannel channel;
+    
+    public CxfSeEndpointComponentContext() {
+        
+    }
+    
+    public CxfSeEndpointComponentContext(ComponentContext context) {
+        this.context = context;
+    }
+
+    public ServiceEndpoint activateEndpoint(QName serviceName, String endpointName) throws
JBIException {
+        throw new UnsupportedOperationException();
+    }
+
+    public void deactivateEndpoint(ServiceEndpoint endpoint) throws JBIException {
+        throw new UnsupportedOperationException();
+    }
+
+    public void deregisterExternalEndpoint(ServiceEndpoint externalEndpoint) throws JBIException
{
+        throw new UnsupportedOperationException();
+    }
+
+    public String getComponentName() {
+        return context.getComponentName();
+    }
+
+    public DeliveryChannel getDeliveryChannel() throws MessagingException {
+        if (this.channel == null) {
+            this.channel = context.getDeliveryChannel();
+        }
+        return this.channel;
+    }
+
+    public ServiceEndpoint getEndpoint(QName service, String name) {
+        return context.getEndpoint(service, name);
+    }
+
+    public Document getEndpointDescriptor(ServiceEndpoint endpoint) throws JBIException {
+        return context.getEndpointDescriptor(endpoint);
+    }
+
+    public ServiceEndpoint[] getEndpoints(QName interfaceName) {
+        return context.getEndpoints(interfaceName);
+    }
+
+    public ServiceEndpoint[] getEndpointsForService(QName serviceName) {
+        return context.getEndpointsForService(serviceName);
+    }
+
+    public ServiceEndpoint[] getExternalEndpoints(QName interfaceName) {
+        return context.getExternalEndpoints(interfaceName);
+    }
+
+    public ServiceEndpoint[] getExternalEndpointsForService(QName serviceName) {
+        return context.getExternalEndpointsForService(serviceName);
+    }
+
+    public String getInstallRoot() {
+        return context.getInstallRoot();
+    }
+
+    public Logger getLogger(String suffix, String resourceBundleName) throws MissingResourceException,
JBIException {
+        return context.getLogger(suffix, resourceBundleName);
+    }
+
+    public MBeanNames getMBeanNames() {
+        return context.getMBeanNames();
+    }
+
+    public MBeanServer getMBeanServer() {
+        return context.getMBeanServer();
+    }
+
+    public InitialContext getNamingContext() {
+        return context.getNamingContext();
+    }
+
+    public Object getTransactionManager() {
+        return context.getTransactionManager();
+    }
+
+    public String getWorkspaceRoot() {
+        return context.getWorkspaceRoot();
+    }
+
+    public void registerExternalEndpoint(ServiceEndpoint externalEndpoint) throws JBIException
{
+        throw new UnsupportedOperationException();
+    }
+
+    public ServiceEndpoint resolveEndpointReference(DocumentFragment epr) {
+        return context.resolveEndpointReference(epr);
+    }
+
+}

Propchange: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpointComponentContext.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeEndpointComponentContext.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeProxyFactoryBean.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeProxyFactoryBean.java?rev=583369&r1=583368&r2=583369&view=diff
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeProxyFactoryBean.java
(original)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeProxyFactoryBean.java
Tue Oct  9 23:46:04 2007
@@ -17,11 +17,16 @@
 package org.apache.servicemix.cxfse;
 
 import javax.jbi.component.ComponentContext;
+import javax.jbi.messaging.DeliveryChannel;
 import javax.naming.InitialContext;
 import javax.xml.namespace.QName;
 
 import org.apache.activemq.util.IdGenerator;
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
 import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
+import org.apache.cxf.transport.ConduitInitiatorManager;
+import org.apache.cxf.transport.jbi.JBITransportFactory;
 import org.apache.servicemix.client.ClientFactory;
 import org.apache.servicemix.client.ServiceMixClient;
 import org.apache.servicemix.jbi.container.JBIContainer;
@@ -33,25 +38,34 @@
 /**
  * 
  * @author ffang
- * @org.apache.xbean.XBean element="proxy"
- *                  description="A CXF proxy"
+ * @org.apache.xbean.XBean element="proxy" description="A CXF proxy"
  * 
  */
-public class CxfSeProxyFactoryBean implements FactoryBean, InitializingBean, DisposableBean
{
-    
+public class CxfSeProxyFactoryBean implements FactoryBean, InitializingBean,
+        DisposableBean {
+
     private String name = ClientFactory.DEFAULT_JNDI_NAME;
+
     private JBIContainer container;
+
     private ClientFactory factory;
+
     private ComponentContext context;
+
     private Class type;
+
     private Object proxy;
+
     private QName service;
+
     private QName interfaceName;
+
     private String endpoint;
+
     private boolean propagateSecuritySubject;
-    
+
     private ServiceMixClient client;
-    
+
     public Object getObject() throws Exception {
         if (proxy == null) {
             proxy = createProxy();
@@ -65,10 +79,18 @@
         cf.setServiceClass(type);
         cf.setAddress("jbi://" + new IdGenerator().generateSanitizedId());
         cf.setBindingId(org.apache.cxf.binding.jbi.JBIConstants.NS_JBI_BINDING);
+        Bus bus = BusFactory.getDefaultBus();
+        JBITransportFactory jbiTransportFactory = (JBITransportFactory) bus
+                .getExtension(ConduitInitiatorManager.class)
+                .getConduitInitiator(CxfSeComponent.JBI_TRANSPORT_ID);
+        if (getContext() != null) { 
+            DeliveryChannel dc = getContext().getDeliveryChannel();
+            if (dc != null) {
+                jbiTransportFactory.setDeliveryChannel(dc);
+            }
+        }
         return cf.create();
     }
-    
-
 
     public Class getObjectType() {
         return type;
@@ -77,7 +99,7 @@
     public boolean isSingleton() {
         return true;
     }
-    
+
     protected ComponentContext getInternalContext() throws Exception {
         if (context == null) {
             if (factory == null) {
@@ -133,7 +155,8 @@
     }
 
     /**
-     * @param context the context to set
+     * @param context
+     *            the context to set
      */
     public void setContext(ComponentContext context) {
         this.context = context;
@@ -147,7 +170,8 @@
     }
 
     /**
-     * @param container the container to set
+     * @param container
+     *            the container to set
      */
     public void setContainer(JBIContainer container) {
         this.container = container;
@@ -161,7 +185,8 @@
     }
 
     /**
-     * @param factory the factory to set
+     * @param factory
+     *            the factory to set
      */
     public void setFactory(ClientFactory factory) {
         this.factory = factory;
@@ -175,7 +200,8 @@
     }
 
     /**
-     * @param name the name to set
+     * @param name
+     *            the name to set
      */
     public void setName(String name) {
         this.name = name;
@@ -189,7 +215,8 @@
     }
 
     /**
-     * @param propagateSecuritySubject the propagateSecuritySubject to set
+     * @param propagateSecuritySubject
+     *            the propagateSecuritySubject to set
      */
     public void setPropagateSecuritySubject(boolean propagateSecuritySubject) {
         this.propagateSecuritySubject = propagateSecuritySubject;
@@ -209,4 +236,3 @@
     }
 
 }
-

Added: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeXBeanDeployer.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeXBeanDeployer.java?rev=583369&view=auto
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeXBeanDeployer.java
(added)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeXBeanDeployer.java
Tue Oct  9 23:46:04 2007
@@ -0,0 +1,40 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.cxfse;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.servicemix.common.xbean.BaseXBeanDeployer;
+import org.apache.servicemix.common.xbean.ParentBeanFactoryPostProcessor;
+
+
+public class CxfSeXBeanDeployer extends BaseXBeanDeployer {
+    public CxfSeXBeanDeployer(CxfSeComponent component) {
+        super(component, CxfSeEndpoint.class);
+    }
+
+    protected List getBeanFactoryPostProcessors(String serviceUnitRootPath) {
+        Map beans = new HashMap();
+        beans.put("context", component.getComponentContext());
+        List processors = new ArrayList(super.getBeanFactoryPostProcessors(serviceUnitRootPath));
+        processors.add(new ParentBeanFactoryPostProcessor(beans));
+        return processors;
+    }
+}

Propchange: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeXBeanDeployer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/main/java/org/apache/servicemix/cxfse/CxfSeXBeanDeployer.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/CxfSeClientProxyTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/CxfSeClientProxyTest.java?rev=583369&r1=583368&r2=583369&view=diff
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/CxfSeClientProxyTest.java
(original)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/CxfSeClientProxyTest.java
Tue Oct  9 23:46:04 2007
@@ -16,34 +16,63 @@
  */
 package org.apache.servicemix.cxfse;
 
+import java.io.File;
+import java.net.URL;
 import java.util.logging.Logger;
 
 import javax.jbi.messaging.InOut;
+import javax.naming.InitialContext;
 import javax.xml.namespace.QName;
 
+import junit.framework.TestCase;
+
 import org.apache.servicemix.client.DefaultServiceMixClient;
+import org.apache.servicemix.jbi.container.JBIContainer;
 import org.apache.servicemix.jbi.jaxp.SourceTransformer;
 import org.apache.servicemix.jbi.jaxp.StringSource;
-import org.apache.servicemix.tck.SpringTestSupport;
-import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
-import org.springframework.context.support.AbstractXmlApplicationContext;
 
-public class CxfSeClientProxyTest extends SpringTestSupport {
+
+public class CxfSeClientProxyTest extends TestCase {
 
     private static final Logger LOG = Logger.getLogger(CxfSeClientProxyTest.class.getName());
     private DefaultServiceMixClient client;
     private InOut io;
+    private JBIContainer container;
     
     protected void setUp() throws Exception {
-        super.setUp();
-        client = new DefaultServiceMixClient(jbi);
+        container = new JBIContainer();
+        container.setUseMBeanServer(false);
+        container.setCreateMBeanServer(false);
+        container.setMonitorInstallationDirectory(false);
+        container.setNamingContext(new InitialContext());
+        container.setEmbedded(true);
+        container.init();
+        client = new DefaultServiceMixClient(container);
         io = client.createInOutExchange();
         io.setService(new QName("http://apache.org/hello_world_soap_http", "SOAPService"));
         io.setInterfaceName(new QName("http://apache.org/hello_world_soap_http", "Greeter"));
         io.setOperation(new QName("http://apache.org/hello_world_soap_http", "greetMe"));
+        
     }
     
     public void testClientProxy() throws Exception {
+        
+        CxfSeComponent component = new CxfSeComponent();
+        container.activateComponent(component, "CxfSeComponent");
+
+        // Start container
+        container.start();
+        
+        // Deploy SU
+//      Deploy SU
+        component.getServiceUnitManager().deploy("target", getServiceUnitPath("target"));
+        component.getServiceUnitManager().init("target", getServiceUnitPath("target"));
+        component.getServiceUnitManager().start("target");
+        
+        component.getServiceUnitManager().deploy("proxy", getServiceUnitPath("proxy"));
+        component.getServiceUnitManager().init("proxy", getServiceUnitPath("proxy"));
+        component.getServiceUnitManager().start("proxy");
+        
         LOG.info("test clientProxy");
         io.getInMessage().setContent(new StringSource(
                 "<message xmlns='http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper'>"
@@ -59,12 +88,17 @@
     }
     
     protected void tearDown() throws Exception {
-        super.tearDown();
+        if (container != null) {
+            container.shutDown();
+        }
     }
     
-    @Override
-    protected AbstractXmlApplicationContext createBeanFactory() {
-        return new ClassPathXmlApplicationContext("org/apache/servicemix/cxfse/client-proxy.xml");
+    protected String getServiceUnitPath(String name) {
+        URL url = getClass().getClassLoader().getResource("org/apache/servicemix/cxfse/"
+ name + "/xbean.xml");
+        File path = new File(url.getFile());
+        path = path.getParentFile();
+        return path.getAbsolutePath();
     }
+    
 
 }

Added: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/proxy/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/proxy/xbean.xml?rev=583369&view=auto
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/proxy/xbean.xml
(added)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/proxy/xbean.xml
Tue Oct  9 23:46:04 2007
@@ -0,0 +1,54 @@
+<?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:sm="http://servicemix.apache.org/config/1.0"
+       xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0"
+       xmlns:test="urn:test"
+       xmlns:calculator="http://apache.org/cxf/calculator"
+       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
+          ">
+  
+    
+      <cxfse:endpoint>
+        <cxfse:pojo>
+          <bean class="org.apache.servicemix.cxfse.GreeterImplForClientProxy" autowire="false">
+              <property name="calculator">
+                  <cxfse:proxy service="calculator:CalculatorService" context="#context"
type="org.apache.cxf.calculator.CalculatorPortType" />
+              </property>
+          </bean>
+              
+        </cxfse:pojo>
+        <cxfse:inInterceptors>
+          <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
+        </cxfse:inInterceptors>
+        <cxfse:outInterceptors>
+          <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
+        </cxfse:outInterceptors>
+        <cxfse:inFaultInterceptors>
+          <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
+        </cxfse:inFaultInterceptors>
+        <cxfse:outFaultInterceptors>
+          <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
+        </cxfse:outFaultInterceptors>
+      </cxfse:endpoint>
+    
+</beans>

Propchange: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/proxy/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/proxy/xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/proxy/xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/target/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/target/xbean.xml?rev=583369&view=auto
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/target/xbean.xml
(added)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/target/xbean.xml
Tue Oct  9 23:46:04 2007
@@ -0,0 +1,51 @@
+<?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:sm="http://servicemix.apache.org/config/1.0"
+       xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0"
+       xmlns:test="urn:test"
+       xmlns:calculator="http://apache.org/cxf/calculator"
+       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
+          ">
+  
+    
+      <cxfse:endpoint>
+        <cxfse:pojo>
+          <bean class="org.apache.cxf.calculator.CalculatorImpl">
+          </bean>
+
+        </cxfse:pojo>
+        <cxfse:inInterceptors>
+          <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
+        </cxfse:inInterceptors>
+        <cxfse:outInterceptors>
+          <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
+        </cxfse:outInterceptors>
+        <cxfse:inFaultInterceptors>
+          <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
+        </cxfse:inFaultInterceptors>
+        <cxfse:outFaultInterceptors>
+          <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
+        </cxfse:outFaultInterceptors>
+      </cxfse:endpoint>
+    
+</beans>

Propchange: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/target/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/target/xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/src/test/resources/org/apache/servicemix/cxfse/target/xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message