FileDocCategorySizeDatePackage
SetTCLAction.javaAPI DocJBoss 4.2.11702Fri Jul 13 20:53:56 BST 2007org.jboss.ejb3.mdb.inflow

SetTCLAction

public class SetTCLAction extends Object implements PrivilegedAction
author
Scott.Stark@jboss.org
version
$Revison:$

Fields Summary
Thread
t
ClassLoader
loader
Constructors Summary
SetTCLAction(Thread t, ClassLoader loader)

      this.t = t;
      this.loader = loader;
   
Methods Summary
public java.lang.Objectrun()

      t.setContextClassLoader(loader);
      loader = null;
      return null;
   
static voidsetContextClassLoader(java.lang.Thread t, java.lang.ClassLoader loader)

      SetTCLAction action = new SetTCLAction(t, loader);
      AccessController.doPrivileged(action);