Class WebappLoader

java.lang.Object
All Implemented Interfaces:
MBeanRegistration, JmxEnabled, Lifecycle, Loader

public class WebappLoader extends LifecycleMBeanBase implements Loader
Classloader implementation which is specialized for handling web applications in the most efficient way, while being Catalina aware (all accesses to resources are made through WebResourceRoot). This class loader supports detection of modified Java classes, which can be used to implement auto-reload support.

This class loader is configured via the Resources children of its Context prior to calling start(). When a new class is required, these Resources will be consulted first to locate the class. If it is not present, the system class loader will be used instead.

Author:
Craig R. McClanahan, Remy Maucherat