Class RunnableDecorator
- java.lang.Object
-
- org.jboss.weld.environment.se.threading.RunnableDecorator
-
- All Implemented Interfaces:
Runnable
@Decorator public class RunnableDecorator extends Object implements Runnable
Decorator for all beans which implements Runnable. It intercepts the call to the run() method to set up the ThreadContext for the new thread so that instances of @ThreadScoped beans can be correctly resolved.- Author:
- Peter Royle
-
-
Constructor Summary
Constructors Constructor Description RunnableDecorator(WeldSEBeanRegistrant extension)
-
-
-
Constructor Detail
-
RunnableDecorator
@Inject public RunnableDecorator(WeldSEBeanRegistrant extension)
-
-