How to use Spring SimpleThreadScope?

Solution 1:

SimpleThreadScope is not registered by default, so that you need to register it manually in order to use it, see 3.5.5.2 Using a custom scope.

singleton and prototype scopes don't have their Scope classes since they are hardcoded into bean factory.