7
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
3 xmlns:jaxrs="http://cxf.apache.org/jaxrs"
|
|
4 xsi:schemaLocation="
|
|
5 http://www.springframework.org/schema/beans
|
|
6 http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
7 http://cxf.apache.org/jaxrs
|
|
8 http://cxf.apache.org/schemas/jaxrs.xsd"
|
|
9 default-lazy-init="false">
|
|
10
|
|
11 <import resource="classpath:META-INF/cxf/cxf.xml" />
|
|
12 <!--
|
|
13 <import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml" />
|
|
14 <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
|
|
15 -->
|
|
16 <bean id="restInterface" class="de.mpiwg.itgroup.diva.RestInterface"/>
|
|
17
|
|
18
|
|
19 <jaxrs:server id="RestInterface" address="/rest/">
|
|
20 <jaxrs:serviceBeans>
|
|
21 <ref bean="restInterface" />
|
|
22 </jaxrs:serviceBeans>
|
|
23 </jaxrs:server>
|
|
24
|
|
25
|
|
26 </beans>
|