<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">

<beans>

	<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="properties">
			<props>
				<prop key="msClass">StaticMessageSource</prop>
				<prop key="msScope">singleton</prop>
			</props>
		</property>
	</bean>

	<bean id="someMessageSource" class="org.springframework.context.support.${msClass}" scope="${msScope}"/>

</beans>
