站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

ENCThreadLocalKey (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.naming
Class ENCThreadLocalKey

java.lang.Object
  extended byorg.jboss.naming.ENCThreadLocalKey
All Implemented Interfaces:
ObjectFactory

public class ENCThreadLocalKey
extends Object
implements ObjectFactory

Return a LinkRef based on a ThreadLocal key.

Version:
$Revision: 1.3 $
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.