Hi,
I have 2 sets of beans. I want to load one of these sets based on a system property through spring context file.
Can I do this using spring?
Example: if the system property repositoryLoad = true
i want to load
<bean id="mapppingLoader" class="RepositoryMappingDefinitionLoader"></bean>
<bean id="routingScriptLoader" class="RepositoryScriptDefinitionLoader"></bean>
or else
<bean id="mapppingLoader" class="CacheMappingDefinitionLoader"></bean>
<bean id="routingScriptLoader" class="CacheMappingDefinitionLoader"></bean>


Reply With Quote
