]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.simple/src/main/resources/org/argeo/slc/core/execution/spring.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:
p=
"http://www.springframework.org/schema/p"
4 xmlns:
aop=
"http://www.springframework.org/schema/aop"
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd
8 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
10 <import resource=
"specs.xml" />
11 <import resource=
"tasks/core.xml" />
13 <bean class=
"org.springframework.beans.factory.config.CustomScopeConfigurer">
14 <property name=
"scopes">
16 <entry key=
"execution">
17 <ref local=
"executionScope"/>
23 <bean id=
"executionScope" class=
"org.argeo.slc.core.execution.ExecutionScope" />
26 class=
"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />
28 <bean id=
"executionContext" class=
"org.argeo.slc.core.execution.MapExecutionContext" scope=
"execution">
32 <bean id=
"instantiationManager" class=
"org.argeo.slc.core.execution.InstantiationManager" />
34 <bean id=
"parameterRef" factory-bean=
"instantiationManager" factory-method=
"createRef"
37 <bean class=
"org.argeo.slc.core.execution.ExecutionParameterPostProcessor" >
38 <property name=
"executionContext">
39 <ref local=
"executionContext" />
41 <property name=
"executionScope">
42 <ref local=
"executionScope"/>
44 <property name=
"instantiationManager">
45 <ref local=
"instantiationManager" />
49 <bean class=
"org.argeo.slc.core.execution.InstantiationPostProcessor">
50 <property name=
"instantiationManager">
51 <ref local=
"instantiationManager" />
55 <bean class=
"org.argeo.slc.core.execution.ExecutionAspect">
56 <property name=
"executionContext">
57 <ref local=
"executionContext" />
61 <aop:aspectj-autoproxy />