I understand that spring caches singleton objects, but if I have a singleton object that has a dependency on a prototype, how do I get spring to inject the prototype into the singleton each time it brings back the cached instance of it. I thought this is what the BeanPostProcesses were doing?


Reply With Quote