|
|||||||||
| Home >> All >> org >> apache >> bcel >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.bcel.util
Interface Repository

- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ClassLoaderRepository, SyntheticRepository
- public interface Repository
- extends java.io.Serializable
Abstract definition of a class repository. Instances may be used to load classes from different sources and may be used in the Repository.setRepository method.
- Version:
- $Id: Repository.java 386056 2006-03-15 11:31:56Z tcurdt $
| Method Summary | |
void |
clear()
Clear all entries from cache. |
org.apache.bcel.classfile.JavaClass |
findClass(java.lang.String className)
Find the class with the name provided, if the class isn't there, return NULL. |
ClassPath |
getClassPath()
Get the ClassPath associated with this Repository |
org.apache.bcel.classfile.JavaClass |
loadClass(java.lang.Class clazz)
Find the JavaClass instance for the given run-time class object |
org.apache.bcel.classfile.JavaClass |
loadClass(java.lang.String className)
Find the class with the name provided, if the class isn't there, make an attempt to load it. |
void |
removeClass(org.apache.bcel.classfile.JavaClass clazz)
Remove class from repository |
void |
storeClass(org.apache.bcel.classfile.JavaClass clazz)
Store the provided class under "clazz.getClassName()" |
| Method Detail |
storeClass
public void storeClass(org.apache.bcel.classfile.JavaClass clazz)
- Store the provided class under "clazz.getClassName()"
removeClass
public void removeClass(org.apache.bcel.classfile.JavaClass clazz)
- Remove class from repository
findClass
public org.apache.bcel.classfile.JavaClass findClass(java.lang.String className)
- Find the class with the name provided, if the class
isn't there, return NULL.
loadClass
public org.apache.bcel.classfile.JavaClass loadClass(java.lang.String className) throws java.lang.ClassNotFoundException
- Find the class with the name provided, if the class
isn't there, make an attempt to load it.
loadClass
public org.apache.bcel.classfile.JavaClass loadClass(java.lang.Class clazz) throws java.lang.ClassNotFoundException
- Find the JavaClass instance for the given run-time class object
clear
public void clear()
- Clear all entries from cache.
getClassPath
public ClassPath getClassPath()
- Get the ClassPath associated with this Repository
|
|||||||||
| Home >> All >> org >> apache >> bcel >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC