org.apache.naming.resources
public class VirtualDirContext extends FileDirContext
<Context docBase="\webapps\mydocbase">
<Resources className="org.apache.naming.resources.VirtualDirContext"
virtualClasspath="\dir\classes;\somedir\somejar.jar"/>
</Resources>
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: VirtualDirContext.java 789815 2009-06-30 16:10:09Z rjung $
Method Summary | |
---|---|
void | setVirtualClasspath(String path)virtualClasspath attribute that will be automatically set
from the Context virtualClasspath attribute
from the context xml file. |
virtualClasspath
attribute that will be automatically set
from the Context
virtualClasspath
attribute
from the context xml file.Parameters: path ;
separated list of path elements.