org.jboss.util.naming
Class ENCThreadLocalKey

java.lang.Object
  extended by org.jboss.util.naming.ENCThreadLocalKey
All Implemented Interfaces:
ObjectFactory

public class ENCThreadLocalKey
extends Object
implements ObjectFactory

Return a LinkRef based on a ThreadLocal key.

Version:
$Revision: 1.1.2.1 $
Author:
Bill Burke

Constructor Summary
ENCThreadLocalKey()
           
 
Method Summary
static String getKey()
           
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
           
static void setKey(String tlkey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ENCThreadLocalKey

public ENCThreadLocalKey()
Method Detail

setKey

public static void setKey(String tlkey)

getKey

public static String getKey()

getObjectInstance

public Object getObjectInstance(Object obj,
                                Name name,
                                Context nameCtx,
                                Hashtable environment)
                         throws Exception
Specified by:
getObjectInstance in interface ObjectFactory
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.