Interface Repository

All Known Implementing Classes:
ClassLoaderRepository, ClassPathRepository, LruCacheClassPathRepository, MemorySensitiveClassPathRepository, SyntheticRepository

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.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clears all entries from cache.
    findClass(String className)
    Finds the class with the name provided, if the class isn't there, return NULL.
    Gets the ClassPath associated with this Repository
    loadClass(Class<?> clazz)
    Finds the JavaClass instance for the given run-time class object.
    loadClass(String className)
    Finds the class with the name provided, if the class isn't there, make an attempt to load it.
    void
    Removes class from repository
    void
    Stores the provided class under "clazz.getClassName()"