|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.reloading.TomcatResourceLoader
ResourceLoader class for the Tomcat classloader. This is not
ideal, as it doesn't take into account the parent loader or
chances in the classpath. This works for classloader
oorg.apache.tomcat.util.NetworkClassLoader
and
descendent org.apache.tomcat.core/ServletClassLoader
.
Constructor Summary | |
TomcatResourceLoader(java.lang.ClassLoader classLoader,
XMLCLogger logger)
Constructor. |
Method Summary | |
java.lang.ClassLoader |
createSelectiveClassLoader(java.lang.String className)
Create a selective class loader for the specified class and its subclasses. |
java.lang.ClassLoader |
getClassLoader()
Get the class loader associated with this ResourceLoader instance. |
java.net.URL[] |
getClassPath()
Get the class path associate with this resource loader. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TomcatResourceLoader(java.lang.ClassLoader classLoader, XMLCLogger logger)
ResourceLoader
Method Detail |
public java.lang.ClassLoader getClassLoader()
ResourceLoader
getClassLoader
in interface ResourceLoader
ResourceLoader.getClassLoader()
public java.net.URL[] getClassPath()
getClassPath
in interface ResourceLoader
public java.lang.ClassLoader createSelectiveClassLoader(java.lang.String className)
createSelectiveClassLoader
in interface ResourceLoader
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |