]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Make default properties placeholder configurer for execution more permissive
authorMathieu Baudier <mbaudier@argeo.org>
Mon, 22 Jun 2009 13:14:54 +0000 (13:14 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Mon, 22 Jun 2009 13:14:54 +0000 (13:14 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2568 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

runtime/org.argeo.slc.support.simple/src/main/resources/org/argeo/slc/core/execution/spring.xml

index 33d4b7ef861d7257b23e96e394d7a51e16c7dd11..a21f302463f50cca43d6f5f8baeea5c5d8f1ce48 100644 (file)
@@ -17,7 +17,7 @@
                <property name="scopes">
                        <map>
                                <entry key="execution">
-                                       <ref local="executionScope"/>
+                                       <ref local="executionScope" />
                                </entry>
                        </map>
                </property>
        <bean id="executionScope" class="org.argeo.slc.core.execution.ExecutionScope" />
 
        <bean
-               class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" />
+               class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
+               <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
+               <property name="ignoreUnresolvablePlaceholders" value="true" />
+       </bean>
 
-       <bean id="executionContext" class="org.argeo.slc.core.execution.MapExecutionContext" scope="execution">
+       <bean id="executionContext" class="org.argeo.slc.core.execution.MapExecutionContext"
+               scope="execution">
                <aop:scoped-proxy />
        </bean>
 
        <bean id="instantiationManager" class="org.argeo.slc.core.execution.InstantiationManager" />
-       
-       <bean id="parameterRef" factory-bean="instantiationManager" factory-method="createRef"
-               abstract="true" />      
 
-       <bean class="org.argeo.slc.core.execution.ExecutionParameterPostProcessor" >
+       <bean id="parameterRef" factory-bean="instantiationManager"
+               factory-method="createRef" abstract="true" />
+
+       <bean class="org.argeo.slc.core.execution.ExecutionParameterPostProcessor">
                <property name="executionContext" ref="executionContext" />
-               <property name="executionScope" ref="executionScope"/>
+               <property name="executionScope" ref="executionScope" />
                <property name="instantiationManager" ref="instantiationManager" />
        </bean>
 
        <bean class="org.argeo.slc.core.execution.InstantiationPostProcessor">
                <property name="instantiationManager" ref="instantiationManager" />
        </bean>
-               
+
        <bean class="org.argeo.slc.core.execution.ExecutionAspect">
                <property name="executionContext" ref="executionContext" />
        </bean>