Mercurial > hg > ismi-richfaces
diff src/main/webapp/WEB-INF/beans.xml @ 7:764f47286679
(none)
| author | jurzua |
|---|---|
| date | Wed, 29 Oct 2014 14:28:34 +0000 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/webapp/WEB-INF/beans.xml Wed Oct 29 14:28:34 2014 +0000 @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:jaxrs="http://cxf.apache.org/jaxrs" + xsi:schemaLocation=" +http://www.springframework.org/schema/beans +http://www.springframework.org/schema/beans/spring-beans.xsd +http://cxf.apache.org/jaxrs +http://cxf.apache.org/schemas/jaxrs.xsd" + default-lazy-init="false"> + + <import resource="classpath:META-INF/cxf/cxf.xml" /> + <!-- + <import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml" /> + <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> + --> + <bean id="restInterface" class="de.mpiwg.itgroup.diva.RestInterface"/> + + + <jaxrs:server id="RestInterface" address="/rest/"> + <jaxrs:serviceBeans> + <ref bean="restInterface" /> + </jaxrs:serviceBeans> + </jaxrs:server> + + +</beans>
