Class ThreadContext

  • All Implemented Interfaces:
    javax.enterprise.context.spi.AlterableContext, javax.enterprise.context.spi.Context, org.jboss.weld.context.ManagedContext

    public class ThreadContext
    extends AbstractUnboundContext
    The thread context. Works with @ThreadScoped beans, maintaining a separate context for each thread.
    Author:
    Nicklas Karlsson, Peter Royle
    • Constructor Detail

      • ThreadContext

        public ThreadContext​(String contextId)
      • ThreadContext

        public ThreadContext()