JBoss Common Classes 2.2.17.GA

org.jboss.util.loading
Class ConstructorTCCLClassLoaderSource

java.lang.Object
  extended by org.jboss.util.loading.ConstructorTCCLClassLoaderSource
All Implemented Interfaces:
ClassLoaderSource

public class ConstructorTCCLClassLoaderSource
extends Object
implements ClassLoaderSource

ClassLoaderSource implementation that returns the thread context classloader (TCCL) in effect when this class' constructor is invoked.

Author:
Brian Stansberry

Constructor Summary
ConstructorTCCLClassLoaderSource()
           
 
Method Summary
 ClassLoader getClassLoader()
          Gets the classloader provided by this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructorTCCLClassLoaderSource

public ConstructorTCCLClassLoaderSource()
Method Detail

getClassLoader

public ClassLoader getClassLoader()
Description copied from interface: ClassLoaderSource
Gets the classloader provided by this object.

Specified by:
getClassLoader in interface ClassLoaderSource
Returns:
the classloader, or null if none is available

JBoss Common Classes 2.2.17.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.