org.jboss.reflect.plugins.bytecode
Class ClassLoaderFinder.LoadClass
java.lang.Object
org.jboss.reflect.plugins.bytecode.ClassLoaderFinder.LoadClass
- All Implemented Interfaces:
- ClassLoaderFinder
- Enclosing interface:
- ClassLoaderFinder
public static class ClassLoaderFinder.LoadClass
- extends Object
- implements ClassLoaderFinder
Singleton default implementation of ClassLoaderFinder suitable for use
in complex classloading environments. It loads the class
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static ClassLoaderFinder.LoadClass 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.