Class ClassLoaderRepository

  • All Implemented Interfaces:
    Repository

    public class ClassLoaderRepository
    extends java.lang.Object
    implements Repository
    The repository maintains information about which classes have been loaded. It loads its data from the ClassLoader implementation passed into its constructor.
    See Also:
    Repository
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassLoaderRepository​(java.lang.ClassLoader loader)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()
      Clear all entries from cache.
      JavaClass findClass​(java.lang.String className)
      Find an already defined JavaClass.
      ClassPath getClassPath()
      Gets the ClassPath associated with this Repository
      JavaClass loadClass​(java.lang.Class<?> clazz)
      Finds the JavaClass instance for the given run-time class object.
      JavaClass loadClass​(java.lang.String className)
      Lookup a JavaClass object from the Class Name provided.
      void removeClass​(JavaClass clazz)
      Remove class from repository
      void storeClass​(JavaClass clazz)
      Store a new JavaClass into this Repository.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait