cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu, Jervis" <j...@iona.com>
Subject RE: Patch for JAX-RS Spring configuration [CXF-1416]
Date Thu, 07 Feb 2008 01:54:53 GMT


> -----Original Message-----
> From: Barry Fitzgerald [mailto:barfitzgerald@gmail.com]
> Sent: 2008年2月6日 22:31
> To: cxf-dev@incubator.apache.org
> Subject: Patch for JAX-RS Spring configuration [CXF-1416]
> 
> Hi,
> 
> I've created a patch for CXF-1416. It now enables multiple root resources to
> be configured.
> 
> https://issues.apache.org/jira/browse/CXF-1416
> 
> I've tested this manually with the following similar config to below:
> 
> <jaxrs:server id="customerService" address="/">
>         <jaxrs:serviceBeans>
>             <!--multiple services support -->
>             <ref bean="restfulUserService" />
>             <ref bean="restfulLoginService" />
>         </jaxrs:serviceBeans>
>     </jaxrs:server>
> 
> There are currently no tests for the Spring bean definition parser that I
> can see and I'm not sure exactly how to write a valid unit test for this.
> Maybe someone can enlighten me!
> 
[Liu, Jervis] Hi Barry, in this case you can write a system test. Please take a look at /trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerSpringBookTest.java

> Thanks,
> 
> Barry

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
Mime
View raw message