org.apache.catalina.loader
public class VirtualWebappLoader extends WebappLoader
<Context docBase="\webapps\mydocbase">
<Loader className="org.apache.catalina.loader.VirtualWebappLoader"
virtualClasspath="\dir\classes;\somedir\somejar.jar"/>
</Context>
This is not meant to be used for production.
Its meant to ease development with IDE's without the
need for fully republishing jars in WEB-INF/lib
Version: $Id: VirtualWebappLoader.java 821672 2009-10-05 03:14:25Z kkolinko $
| Constructor Summary | |
|---|---|
| VirtualWebappLoader()
Construct a new WebappLoader with no defined parent class loader (so that
the actual parent will be the system class loader). | |
| VirtualWebappLoader(ClassLoader parent)
Construct a new WebappLoader with the specified class loader to be
defined as the parent of the ClassLoader we ultimately create.
| |
| Method Summary | |
|---|---|
| void | setVirtualClasspath(String path)virtualClasspath attribute that will be automatically set
from the Context virtualClasspath attribute
from the context xml file. |
Parameters: parent The parent class loader
virtualClasspath attribute that will be automatically set
from the Context virtualClasspath attribute
from the context xml file.Parameters: path ; separated list of path elements.