]>
git.argeo.org Git - gpl/argeo-slc.git/blob - modules/server/org.argeo.slc.webapp.war/WEB-INF/jcr-manager-servlet.xml
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans xmlns=
"http://www.springframework.org/schema/beans"
3 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance" xmlns:
aop=
"http://www.springframework.org/schema/aop"
4 xmlns:
context=
"http://www.springframework.org/schema/context"
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
8 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
10 <context:component-scan base-package=
"org.argeo.server.jcr.mvc" />
12 <bean name=
"**" class=
"org.argeo.server.jcr.mvc.JcrManagerController">
15 <bean id=
"viewResolver" class=
"org.argeo.server.mvc.SerializingViewResolver">
16 <property name=
"serializer" ref=
"serverMapper" />
19 <bean id=
"serverMapper" class=
"org.argeo.server.json.JsonServerMapper">
22 <bean class=
"org.argeo.server.mvc.DefaultHandlerExceptionResolver" />
24 <bean id=
"handlerMapping"
25 class=
"org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping">
26 <property name=
"interceptors">
28 <ref bean=
"osivInterceptor" />