org.azuki.framework.context
Class ThreadContext

java.lang.Object
  extended by org.azuki.framework.context.ThreadContext

public final class ThreadContext
extends Object

Manage Thread's context attached object.

Author:
Robert Bakic (robert.bakic@gmail.com)

Nested Class Summary
static interface ThreadContext.Impl
           
 
Constructor Summary
ThreadContext()
           
 
Method Summary
static IContext get()
           
static Object lookup(String key, Object... args)
           
static void release(String key)
           
static void reset()
           
static void set(IContext ictx)
           
static void setStatus(boolean state, String info)
           
static void startThread(Thread thread)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadContext

public ThreadContext()
Method Detail

get

public static final IContext get()

release

public static final void release(String key)
                          throws Exception
Throws:
Exception

lookup

public static final Object lookup(String key,
                                  Object... args)
                           throws Exception
Throws:
Exception

set

public static final void set(IContext ictx)

startThread

public static final void startThread(Thread thread)

setStatus

public static final void setStatus(boolean state,
                                   String info)

reset

public static final void reset()


Azuki Framework Copyright © 2006 the original author or authors.