|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClassDefLoader
This is an interface that abstracts the loading of class definitions.
| Method Summary | |
|---|---|
Set |
findClassNames(String[] asPackageNames,
Pattern oClassNamePattern)
Searches for class names that match the specified package root and regex. |
ClassDef |
getClassDef(String sClassName)
Load the byte code and other information about the specified class |
ResourceDef |
getResourceDef(String sResourceName)
Load the data and other information about the specified resource |
| Method Detail |
|---|
ClassDef getClassDef(String sClassName)
throws ClassNotFoundException
sClassName - the name of the class for which a definition is requested
ClassNotFoundException - if this loader was able to locate the class definition was
unable to sucessfully load itResourceDef getResourceDef(String sResourceName)
sResourceName - the name of the class for which a definition is requested
Set findClassNames(String[] asPackageNames,
Pattern oClassNamePattern)
asPackageNames - an array of starting package names to start the search, if the package names arg
is null all package names are searchedoClassNamePattern - a java regex that defines the classnames that match the search
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||