Th reason I asked my original question is similar to the above:Originally Posted by olope
Is there a way to obtain a "per-thread singleton"? i.e a singleton shared by all ApplicationContext instances associated with the SAME THREAD (as opposed to the same JVM or "cluster")?
Reason I ask is that we don't want to have to inelegantly "pass around" (via method parameter, constructor or setter/getter) the ApplicationContext object any more than we wanted to pass around the Spring objects themselves in this other forum thread:
http://forum.springframework.org/sho...7&postcount=37
...and:
http://forum.springframework.org/sho...1&postcount=39
...within the forum thread:
http://forum.springframework.org/sho...t=24569&page=4
Ben


Reply With Quote
