Class MemorySensitiveClassPathRepository

  • All Implemented Interfaces:
    Repository
    Direct Known Subclasses:
    SyntheticRepository

    public class MemorySensitiveClassPathRepository
    extends AbstractClassPathRepository
    This repository is used in situations where a Class is created outside the realm of a ClassLoader. Classes are loaded from the file systems using the paths specified in the given class path. By default, this is the value returned by ClassPath.getClassPath(). This repository holds onto classes with SoftReferences, and will reload as needed, in cases where memory sizes are important.
    See Also:
    Repository