Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1905

Revisit org.jboss.weld.environment.se.contexts.ThreadContext

XMLWordPrintable

      The name is somewhat misleading. Currently, the bean is not scoped to the current thread but to the java.lang.Runnable.run() invocation. See also org.jboss.weld.environment.se.contexts.ThreadScoped and org.jboss.weld.environment.se.threading.RunnableDecorator.

      It would be also meaningful to provide a more easier way to start/stop the context. E.g. a bean with method which would accept a Runnable lambda and start/stop the context automatically.

            tremes1@redhat.com Tomas Remes
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: