Interface ClassLoaderReference

All Known Implementing Classes:
BcelWeakClassLoaderReference, DefaultClassLoaderReference

public interface ClassLoaderReference
Implementors should provide access to a ClassLoader instance. The reference can be passed around and cached but will not cause the code that caches it to have a hard reference to the classloader, so it is easier to manage the classloader instance. The default implementation will just wrap a classloader object but more sophisticated implementations could keep a WeakReference to the loader.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details