Omar,
That's a good point that you make about separation of concerns. I have solved the problem already, but the specific solution you proposed is a little cleaner so I'm going to see if I can...
Type: Posts; User: ketan; Keyword(s):
Omar,
That's a good point that you make about separation of concerns. I have solved the problem already, but the specific solution you proposed is a little cleaner so I'm going to see if I can...
I wanted to write a BeanFactoryPostProcessor that looked at the other bean definitions and created a Map based on those according to some criteria. I intended to use it as a FactoryBean to supply...
Rudely replying to myself again for the benefit of anyone who encounters this need. I have a clunky but effective solution. In one application context, define the following:
<bean...
In my particular case, I now see that I can use PropertiesFactoryBean to load the second set of properties and set those on the sessionFactory directly. It appears that I could also use...
I want to conditionally apply one properties file based on the values specified in another properties file. application.properties is meant to modified by deployers and specifies the dbType like so:...