modifying a bean definition
I have my bean defs split into 2 files. I have done this because I have 2 applications, one which requires the beans in file 1 and one which requires the beans in both files 1 and 2.
In file 1, I have defined a Hibernate session factory which is passed to several other beans.
My problem is that in addtion to additional beans, my 2nd app also needs additional hibernate mappings. How can I get these mappings into the session factory for app 2 but not have them there for app 1?