FileDocCategorySizeDatePackage
Repository.javaAPI DocJava SE 6 API4047Tue Jun 10 00:22:24 BST 2008com.sun.org.apache.bcel.internal.util

Repository

public interface Repository implements 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.
see
com.sun.org.apache.bcel.internal.Repository
version
$Id: Repository.java,v 1.1.2.1 2005/07/31 23:46:58 jeffsuttor Exp $
author
M. Dahm
author
David Dixon-Peugh

Fields Summary
Constructors Summary
Methods Summary
public voidclear()
Clear all entries from cache.

public com.sun.org.apache.bcel.internal.classfile.JavaClassfindClass(java.lang.String className)
Find the class with the name provided, if the class isn't there, return NULL.

public com.sun.org.apache.bcel.internal.classfile.JavaClassloadClass(java.lang.String className)
Find the class with the name provided, if the class isn't there, make an attempt to load it.

public com.sun.org.apache.bcel.internal.classfile.JavaClassloadClass(java.lang.Class clazz)
Find the JavaClass instance for the given run-time class object

public voidremoveClass(com.sun.org.apache.bcel.internal.classfile.JavaClass clazz)
Remove class from repository

public voidstoreClass(com.sun.org.apache.bcel.internal.classfile.JavaClass clazz)
Store the provided class under "clazz.getClassName()"