]>
git.argeo.org Git - gpl/argeo-slc.git/blob - legacy/modules/org.argeo.slc.webapp/WEB-INF/applicationContext.xml
1b9c09502e809be729323efcc79e6a48352afea2
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:
tx=
"http://www.springframework.org/schema/tx"
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
8 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
11 <import resource="classpath:/org/argeo/slc/server/spring/jmx.xml" />
15 security.xml has to be before osgi.xml, otherwise namespace parsing
18 <!-- <import resource="security.xml" /> -->
19 <import resource=
"osgi.xml" />
22 Hibernate instrumentation <bean id="osivInterceptor"
23 class="org.springframework.orm.hibernate3.support.OpenSessionInViewInterceptor">
24 <property name="sessionFactory" ref="sessionFactory" /> </bean>
30 class=
"org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer"
32 <property name=
"contextOverride" value=
"true" />
36 Web Services transactions <aop:config> <aop:pointcut id="epMethods"
37 expression="execution(*
38 org.springframework.web.servlet.mvc.Controller.handleRequest(..))" />
39 <aop:advisor advice-ref="epAdvice" pointcut-ref="epMethods" />
40 </aop:config> <tx:advice id="epAdvice"
41 transaction-manager="hibernateTransactionManager"> <tx:attributes>
42 <tx:method name="*" propagation="REQUIRED" /> </tx:attributes>