title: How to use Spring SimpleThreadScope?
body: <p>Spring 3.0 defines a <a href="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/context/support/SimpleThreadScope.html" rel="noreferrer">SimpleThreadScope</a>. Looking at all known implementing classes of the <a href="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/beans/factory/config/Scope.html" rel="noreferrer">Scope interface</a>, I see: AbstractRequestAttributesScope, PortletContextScope, RequestScope, ServletContextScope, SessionScope, SimpleThreadScope.</p>
  
  <p>The first observation is that I don't see a PrototypeScope, and don't understand why.</p>
  
  <p>My question, though, is how to use SimpleThreadScope, since RequestScope becomes "request" in XML or annotation, so I tried to use "simplethread" and "simpleThread", but they don't work.</p>
  
  <p>I get the following message:</p>
  
  <pre><code>Caused by: java.lang.IllegalStateException: No Scope registered for scope 'simpleThread'
  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
  </code></pre>
  
  <p>Does it mean that SimpleThreadScope should be used only programmatically, not through XML or annotations? And how to use it? </p>