You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bi...@apache.org on 2009/11/01 12:52:25 UTC
svn commit: r831670 -
/cxf/trunk/rt/javascript/src/test/resources/AegisBeans.xml
Author: bimargulies
Date: Sun Nov 1 11:52:24 2009
New Revision: 831670
URL: http://svn.apache.org/viewvc?rev=831670&view=rev
Log:
Fix test usage of obsolete property mechanism.
Modified:
cxf/trunk/rt/javascript/src/test/resources/AegisBeans.xml
Modified: cxf/trunk/rt/javascript/src/test/resources/AegisBeans.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/javascript/src/test/resources/AegisBeans.xml?rev=831670&r1=831669&r2=831670&view=diff
==============================================================================
--- cxf/trunk/rt/javascript/src/test/resources/AegisBeans.xml (original)
+++ cxf/trunk/rt/javascript/src/test/resources/AegisBeans.xml Sun Nov 1 11:52:24 2009
@@ -1,25 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the v 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.
--->
+ <!--
+ Licensed to the v 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:simple="http://cxf.apache.org/simple"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:simple="http://cxf.apache.org/simple"
xmlns:soap="http://cxf.apache.org/bindings/soap"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
@@ -33,54 +29,24 @@
<import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-javascript-client.xml" />
- <!--
- <bean id="logInbound" class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
- <bean id="logOutbound" class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
-
- <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl">
- <property name="inInterceptors">
- <list>
- <ref bean="logInbound"/>
- </list>
- </property>
- <property name="outInterceptors">
- <list>
- <ref bean="logOutbound"/>
- </list>
- </property>
- <property name="outFaultInterceptors">
- <list>
- <ref bean="logOutbound"/>
- </list>
- </property>
- </bean>
- -->
-
<simple:server id="aegis-service"
- serviceClass="org.apache.cxf.javascript.fortest.AegisService"
- address="http://localhost:8808/aegis">
+ serviceClass="org.apache.cxf.javascript.fortest.AegisService" address="http://localhost:8808/aegis">
<simple:serviceBean>
- <bean
- class="org.apache.cxf.javascript.fortest.AegisServiceImpl" />
+ <bean class="org.apache.cxf.javascript.fortest.AegisServiceImpl" />
</simple:serviceBean>
<simple:dataBinding>
- <bean
- class="org.apache.cxf.aegis.databinding.AegisDatabinding">
+ <bean class="org.apache.cxf.aegis.databinding.AegisDatabinding">
+ <property name="overrideTypes">
+ <list>
+ <value>org.apache.cxf.javascript.fortest.aegis.Mammal</value>
+ </list>
+ </property>
</bean>
</simple:dataBinding>
<simple:serviceFactory>
- <bean
- class='org.apache.cxf.service.factory.ReflectionServiceFactoryBean'>
- <property name="properties">
- <map>
- <entry key="overrideTypesList">
- <list>
- <value>org.apache.cxf.javascript.fortest.aegis.Mammal</value>
- </list>
- </entry>
- </map>
- </property>
+ <bean class='org.apache.cxf.service.factory.ReflectionServiceFactoryBean'>
+
</bean>
</simple:serviceFactory>
</simple:server>