]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - modules/server/org.argeo.slc.server.repo.webapp/WEB-INF/maven-servlet.xml
Move to SLC legacy
[gpl/argeo-slc.git] / modules / server / org.argeo.slc.server.repo.webapp / WEB-INF / maven-servlet.xml
index 6ab60c58427025bb00f694933e7369277c45c864..04d5151f04e11e2c14d4836bd3a1614951d99a7a 100644 (file)
@@ -1,11 +1,11 @@
 <?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:aop="http://www.springframework.org/schema/aop"
-       xmlns:context="http://www.springframework.org/schema/context"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
+       xmlns:util="http://www.springframework.org/schema/util"
        xsi:schemaLocation="
-               http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd 
-               http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
-               http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+       http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
+       ">
 
        <bean
                class="org.springframework.web.servlet.handler.SimpleServletPostProcessor" />
                class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
                <property name="mappings">
                        <props>
-                               <prop key="*">companyRemoteService</prop>
+                               <prop key="*">mavenProxyServlet</prop>
                        </props>
                </property>
        </bean>
 
-       <bean id="mavenProxyServlet"
-               class="com.somecompany.gwt.server.servicesimpl.CompanyRemoteServiceImpl" />
+       <bean id="mavenProxyServlet" class="org.argeo.jcr.mvc.ResourceProxyServlet">
+               <property name="jcrSession" ref="jcrSession" />
+               <property name="proxy" ref="mavenProxy" />
+       </bean>
 
+       <bean id="jcrSession" class="org.argeo.security.jcr.SecureThreadBoundSession">
+               <property name="repository" ref="jcrRepository" />
+       </bean>
 </beans>
\ No newline at end of file