|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a class that can create a hierarchy in Tomcat. Different implementations of this interface will represent the different versions of Tomcat, which have slightly different classloading rules.
Method Summary | |
CGClassLoader |
createClassLoader(java.lang.String appName,
CGClassLoaderFilter filter,
FileChangeMonitor fileMonitor)
Method that creates the appropriate class loader hierarchy consistent with the associated instance of Tomcat and the supplied application. |
java.lang.String[] |
getAppNames()
Returns an array of application names in the associated Tomcat instance. |
Method Detail |
public java.lang.String[] getAppNames()
createClassLoader(java.lang.String, classpathhelper.CGClassLoaderFilter, classpathhelper.filechangelistener.FileChangeMonitor)
.public CGClassLoader createClassLoader(java.lang.String appName, CGClassLoaderFilter filter, FileChangeMonitor fileMonitor)
appName
- The application name, should be
a value from getAppNames()
.filter
- The filter for the class loader.fileMonitor
- An optional (may be null) file monitor
that will be populated with the files to monitor related
to this classloader.
null
if
the application name is invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |