<?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