Details

      Description

      In the @ThreadScope documentation (http://docs.jboss.org/weld/reference/1.1.0.Final/en-US/html_single/#d0e5455), it says you required to have the following added to beans.xml:

       <beans>
        <decorators>
           <decorator>org.jboss.weld.environment.se.threading.RunnableDecorator</decorator>
        </decorator>
      </beans>

      while it should be:

       <beans>
        <decorators>
           <class>org.jboss.weld.environment.se.threading.RunnableDecorator</class>
        </decorator>
      </beans>

      Simple error, but very confusing. Running with the wrong decorator declarations will cause the @ThreadScope not to work.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                alesj AleŇ° Justin
                Reporter:
                yonatangr Yonatan Graber
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: