JBoss Reflection 2.2.1.SP1

org.jboss.reflect.plugins.bytecode
Class CachingLoadClassClassLoaderFinder

java.lang.Object
  extended by org.jboss.reflect.plugins.bytecode.CachingLoadClassClassLoaderFinder
All Implemented Interfaces:
ClassLoaderFinder

public class CachingLoadClassClassLoaderFinder
extends Object
implements ClassLoaderFinder

Version:
$Revision: 1.1 $
Author:
Kabir Khan

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.reflect.plugins.bytecode.ClassLoaderFinder
ClassLoaderFinder.Default, ClassLoaderFinder.LoadClass
 
Field Summary
static CachingLoadClassClassLoaderFinder INSTANCE
           
 
Method Summary
 ClassLoader getLoaderForClass(ClassLoader initiating, String name)
          Gets the correct classloader to use to find a class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static CachingLoadClassClassLoaderFinder INSTANCE
Method Detail

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 classloader
name - the name of the class
Returns:
the classloader to use to load the class, or null if the class does not exist

JBoss Reflection 2.2.1.SP1

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