com.caucho.inject
Class ThreadContext

java.lang.Object
  extended by com.caucho.inject.ThreadContext

public class ThreadContext
extends java.lang.Object

The ThreadContext works with @ThreadScoped.


Constructor Summary
ThreadContext()
           
 
Method Summary
static void begin()
           
static void end()
           
static Context getContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadContext

public ThreadContext()
Method Detail

begin

public static void begin()

end

public static void end()

getContext

public static Context getContext()