By bloid
via juretta.com
Published: Feb 13 2007 / 14:19
Being a long time ant user i always wanted to use Ant-style properties in my Spring bean definitions. And no surprise here - this is quite easy to accomplish. Spring has the PropertyPlaceholderConfigurer class which takes a Java properties file and replaces ${} placeholders in your XML based bean definition files. A very simple examples shows how to use the property placeholders.
Add your comment