Search:

Type: Posts; User: ketan; Keyword(s):

Search: Search took 0.02 seconds.

  1. Omar, That's a good point that you make about...

    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...
  2. FactoryBean, BeanPostProcessor, and BeanFactoryPostProcessor

    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...
  3. Replies
    3
    Views
    3,073

    Rudely replying to myself again for the benefit...

    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...
  4. Replies
    3
    Views
    3,073

    In my particular case, I now see that I can use...

    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...
  5. Replies
    3
    Views
    3,073

    PropertyResourceConfigurer depends on another

    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:...
Results 1 to 5 of 5