Enhydra 5.1 API

org.enhydra.xml.xmlc.reloading
Class EnhydraResourceLoader

java.lang.Object
  |
  +--org.enhydra.xml.xmlc.reloading.EnhydraResourceLoader
All Implemented Interfaces:
ResourceLoader

public class EnhydraResourceLoader
extends java.lang.Object
implements ResourceLoader

ResourceLoader for the EnhydraClassLoader.

See Also:
EnhydraClassLoader

Constructor Summary
EnhydraResourceLoader(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 classpath that will be searched to find classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnhydraResourceLoader

public EnhydraResourceLoader(java.lang.ClassLoader classLoader,
                             XMLCLogger logger)
Constructor.

See Also:
ResourceLoader
Method Detail

getClassLoader

public java.lang.ClassLoader getClassLoader()
Description copied from interface: ResourceLoader
Get the class loader associated with this ResourceLoader instance.

Specified by:
getClassLoader in interface ResourceLoader
See Also:
ResourceLoader.getClassLoader()

getClassPath

public java.net.URL[] getClassPath()
Description copied from interface: ResourceLoader
Get the classpath that will be searched to find classes. This should include all parents in the order that they will be searched. It is used for constructing a CLASSPATH to pass to the Java compiler.

Specified by:
getClassPath in interface ResourceLoader
See Also:
ResourceLoader.getClassPath()

createSelectiveClassLoader

public java.lang.ClassLoader createSelectiveClassLoader(java.lang.String className)
Description copied from interface: ResourceLoader
Create a selective class loader for the specified class and its subclasses. All other classes are delegated to the ClassLoader assocation with this ResourceLoader.

Specified by:
createSelectiveClassLoader in interface ResourceLoader
See Also:
ResourceLoader.createSelectiveClassLoader(java.lang.String)

Enhydra 5.1 API