org.jboss.util.loading
Class MyClassLoaderClassLoaderSource
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyClassLoaderClassLoaderSource
public MyClassLoaderClassLoaderSource()
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
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.