com.acciente.commons.loader
Interface ClassDefLoader
- All Known Implementing Classes:
- JavaCompiledClassDefLoader, JavaSourceClassDefLoader
public interface ClassDefLoader
This is an interface that abstracts the loading of class definitions.
|
Method Summary |
ClassDef |
getClassDef(java.lang.String sClassName)
Load the byte code and other information about the specified class |
getClassDef
ClassDef getClassDef(java.lang.String sClassName)
throws java.lang.ClassNotFoundException
- Load the byte code and other information about the specified class
- Parameters:
sClassName - the name of the class for which a definition is requested
- Returns:
- a class definition if this class definition loader is able to locate and successfully
load the byte code for the class. If the class could not be located a null is returned, if the
class was located but the load failed an exception is thrown.
- Throws:
java.lang.ClassNotFoundException - if this loader was able to locate the class definition was
unable to sucessfully load it
Copyright (c) 2008 Acciente, LLC. All rights reserved.