com.caucho.util
Class ClassLoaderLocal

java.lang.Object
  |
  +--com.caucho.util.ClassLoaderLocal
Direct Known Subclasses:
ContextLocal

public class ClassLoaderLocal
extends java.lang.Object

Creates a ClassLoader-dependent variable. The value of the ClassLoaderLocal variable depends on the context ClassLoader.


Constructor Summary
ClassLoaderLocal()
           
ClassLoaderLocal(java.lang.String varName)
           
 
Method Summary
 java.lang.Object get()
          Returns the variable for the context classloader.
 java.lang.Object getGlobal()
           
 java.lang.Object getLevel()
          Returns the variable for the context classloader.
 java.lang.String getVariable()
           
 void set(java.lang.Object value)
          Sets the variable for the context classloader.
 void setGlobal(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLoaderLocal

public ClassLoaderLocal()

ClassLoaderLocal

public ClassLoaderLocal(java.lang.String varName)
Method Detail

getVariable

public java.lang.String getVariable()

get

public java.lang.Object get()
Returns the variable for the context classloader.

getLevel

public java.lang.Object getLevel()
Returns the variable for the context classloader.

set

public void set(java.lang.Object value)
Sets the variable for the context classloader.

setGlobal

public void setGlobal(java.lang.Object value)

getGlobal

public java.lang.Object getGlobal()