SpringSource/spring-framework — pull request #192 by rwinch (2012-11-28 20:46:11+00:00)
Title: Add beforeConcurrentHandling support

Previously it CallableProcessingInterceptor did not have support for
capturing the state of the original Thread just prior to processing.
This made it difficult to transfer the state of one Thread (i.e.
ThreadLocal) to the Thread used to process the Callable.

This commit adds a new method to CallableProcessingInterceptor named
beforeConcurrentHandling which will be invoked on the original Thread
used to submit the Callable just prior to the Callable being submitted
for processing. This means the state of the original Thread can be
captured in beforeConcurrentHandling and transfered to the new Thread
in preProcess.

Issue: SPR-10052