]>
git.argeo.org Git - gpl/argeo-slc.git/blob - modules/server/org.argeo.slc.webapp.war/WEB-INF/jcr-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=
"/*.jcr" class=
"org.argeo.server.jcr.mvc.JcrBrowserController" />
15 <bean name=
"getJcrItem" class=
"org.argeo.server.mvc.SerializingView">
16 <property name=
"serializer">
17 <bean class=
"org.argeo.server.jcr.mvc.JcrXmlServerSerializer" />
21 <bean name=
"queryJcrNodes" class=
"org.argeo.server.mvc.SerializingView">
22 <property name=
"serializer" ref=
"jsonSerializer" />
25 <bean name=
"queryJcrTable" class=
"org.argeo.server.mvc.SerializingView">
26 <property name=
"serializer" ref=
"jsonSerializer" />
30 <bean id=
"jsonSerializer" class=
"org.argeo.server.json.JsonServerSerializer" />
33 <bean id=
"handlerMapping"
34 class=
"org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping">
35 <property name=
"interceptors">
37 <ref bean=
"osivInterceptor" />
42 <bean id=
"viewResolver"
43 class=
"org.springframework.web.servlet.view.BeanNameViewResolver" />