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

java.lang.Object
  extended by org.jboss.weld.context.AbstractContext
      extended by org.jboss.weld.context.AbstractManagedContext
          extended by org.jboss.weld.context.AbstractUnboundContext
              extended by org.jboss.weld.environment.se.contexts.ThreadContext
All Implemented Interfaces:
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 Summary
ThreadContext()
           
 
Method Summary
 void activate()
           
 Class<? extends Annotation> getScope()
           
 
Methods inherited from class org.jboss.weld.context.AbstractUnboundContext
cleanup, destroy, getBeanStore, setBeanStore
 
Methods inherited from class org.jboss.weld.context.AbstractManagedContext
deactivate, invalidate, isActive, setActive
 
Methods inherited from class org.jboss.weld.context.AbstractContext
get, get, getContextual, getId, getServiceRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.enterprise.context.spi.Context
get, get
 

Constructor Detail

ThreadContext

public ThreadContext()
Method Detail

getScope

public Class<? extends Annotation> getScope()

activate

public void activate()
Specified by:
activate in interface org.jboss.weld.context.ManagedContext
Overrides:
activate in class AbstractManagedContext


Copyright © 2013 Seam Framework. All Rights Reserved.