Interface InstrumentableClassLoader

All Known Implementing Classes:
ParallelWebappClassLoader, WebappClassLoader, WebappClassLoaderBase

public interface InstrumentableClassLoader
Specifies a class loader capable of being decorated with ClassFileTransformers. These transformers can instrument (or weave) the byte code of classes loaded through this class loader to alter their behavior. Currently only WebappClassLoaderBase implements this interface. This allows web application frameworks or JPA providers bundled with a web application to instrument web application classes as necessary.

You should always program against the methods of this interface (whether using reflection or otherwise). The methods in WebappClassLoaderBase are protected by the default security manager if one is in use.

Since:
8.0, 7.0.64