|
Return to www.inductionframework.org | |||||||||
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 | |
---|---|
java.util.Set |
findClassNames(java.lang.String[] asPackageNames,
java.util.regex.Pattern oClassNamePattern)
Searches for class names that match the specified package root and regex. |
ClassDef |
getClassDef(java.lang.String sClassName)
Load the byte code and other information about the specified class |
ResourceDef |
getResourceDef(java.lang.String sResourceName)
Load the data and other information about the specified resource |
Method Detail |
---|
ClassDef getClassDef(java.lang.String sClassName) throws java.lang.ClassNotFoundException
sClassName
- the name of the class for which a definition is requested
java.lang.ClassNotFoundException
- if this loader was able to locate the class definition was
unable to sucessfully load itResourceDef getResourceDef(java.lang.String sResourceName)
sResourceName
- the name of the class for which a definition is requested
java.util.Set findClassNames(java.lang.String[] asPackageNames, java.util.regex.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
|
Return to www.inductionframework.org | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |