]>
git.argeo.org Git - gpl/argeo-slc.git/blob - applicationContext.xml
fcea0a17eb3f684fd205a4a2510c996ddf637856
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" />
13 <import resource=
"security.xml" />
15 <import resource=
"osgi.xml" />
17 <!-- Hibernate instrumentation-->
18 <bean id=
"osivInterceptor"
19 class=
"org.springframework.orm.hibernate3.support.OpenSessionInViewInterceptor">
20 <property name=
"sessionFactory" ref=
"sessionFactory" />
26 class=
"org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer"
28 <property name=
"contextOverride" value=
"true" />
29 <property name=
"ignoreUnresolvablePlaceholders" value=
"true" />
32 <!-- Web Services transactions -->
34 <aop:pointcut id=
"epMethods"
35 expression=
"execution(* org.springframework.web.servlet.mvc.Controller.handleRequest(..))" />
36 <aop:advisor advice-ref=
"epAdvice" pointcut-ref=
"epMethods" />
39 <tx:advice id=
"epAdvice" transaction-manager=
"hibernateTransactionManager">
41 <tx:method name=
"*" propagation=
"REQUIRED" />