org.jboss.reflect.plugins.bytecode
Class CachingLoadClassClassLoaderFinder
java.lang.Object
org.jboss.reflect.plugins.bytecode.CachingLoadClassClassLoaderFinder
- All Implemented Interfaces:
- ClassLoaderFinder
public class CachingLoadClassClassLoaderFinder
- extends Object
- implements ClassLoaderFinder
- Version:
- $Revision: 1.1 $
- Author:
- Kabir Khan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static CachingLoadClassClassLoaderFinder INSTANCE
getLoaderForClass
public ClassLoader getLoaderForClass(ClassLoader initiating,
String name)
- Description copied from interface:
ClassLoaderFinder
- Gets the correct classloader to use to find a class
- Specified by:
getLoaderForClass
in interface ClassLoaderFinder
- Parameters:
initiating
- the initiating classloadername
- the name of the class
- Returns:
- the classloader to use to load the class, or null if the class does not exist
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.