JBoss Common Classes 2.2.17.GA

org.jboss.util.loading
Class MyClassLoaderClassLoaderSource

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

public class MyClassLoaderClassLoaderSource
extends Object
implements ClassLoaderSource

ClassLoaderSource implementation that returns the ClassLoader that loaded this class.

Author:
Brian Stansberry

Constructor Summary
MyClassLoaderClassLoaderSource()
           
 
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

MyClassLoaderClassLoaderSource

public MyClassLoaderClassLoaderSource()
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.