de.grogra.reflect
Class ClassLoaderAdapter

java.lang.Object
  extended by de.grogra.reflect.ClassLoaderAdapter
All Implemented Interfaces:
TypeLoader

public class ClassLoaderAdapter
extends java.lang.Object
implements TypeLoader


Constructor Summary
ClassLoaderAdapter(java.lang.ClassLoader loader)
           
 
Method Summary
 java.lang.Class classForName(java.lang.String name)
           
 java.lang.ClassLoader getClassLoader()
           
 Type typeForName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLoaderAdapter

public ClassLoaderAdapter(java.lang.ClassLoader loader)
Method Detail

classForName

public java.lang.Class classForName(java.lang.String name)
                             throws java.lang.ClassNotFoundException
Specified by:
classForName in interface TypeLoader
Throws:
java.lang.ClassNotFoundException

getClassLoader

public java.lang.ClassLoader getClassLoader()
Specified by:
getClassLoader in interface TypeLoader

typeForName

public Type typeForName(java.lang.String name)
                 throws java.lang.ClassNotFoundException
Specified by:
typeForName in interface TypeLoader
Throws:
java.lang.ClassNotFoundException