Interface Repository

All Known Implementing Classes:
BcelWorld, ClassLoaderRepository, LTWWorld, NonCachingClassLoaderRepository, SyntheticRepository, ThreadLocalAwareRepository

public interface Repository
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,v 1.5 2009/09/09 19:56:20 aclement Exp $
Author:
M. Dahm, David Dixon-Peugh
See Also:
Repository
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clear all entries from cache.
    findClass​(String className)
    Find the class with the name provided, if the class isn't there, return NULL.
    loadClass​(Class clazz)
    Find the JavaClass instance for the given run-time class object
    loadClass​(String className)
    Find the class with the name provided, if the class isn't there, make an attempt to load it.
    void
    Remove class from repository
    void
    Store the provided class under "clazz.getClassName()"
  • Method Details