|
From: Rainer S. <Rai...@ab...> - 2004-11-02 14:31:00
|
Aloha! I tried to use CommonsPoolTargetSource without success - calling beanFactory.getBean() always returns the same instance. I looked into CommonsPoolTargetSourceTests and as far as I can see it's not tested wether the pool is returning new objects or is working at all. Inspecting the objects returned by getBean() in testFunctionality() with a debugger shows both calls return the same SideEffectBean instance. Is this feature broken or am I missing something? Cheers, Rainer |