atg.nucleus
Class JavaConfigurationClassLoaders

java.lang.Object
  extended by atg.nucleus.JavaConfigurationClassLoaders

public class JavaConfigurationClassLoaders
extends java.lang.Object

This maintains a table mapping each directory to the JavaConfigurationClassLoader appropriate to that directory. When asked for the ClassLoader, this will return the existing ClassLoader for a directory, or will create a new ClassLoader if the existing ClassLoader has a version of the class that is out of date.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
JavaConfigurationClassLoaders()
          Constructs a new blank JavaConfigurationClassLoaders
 
Method Summary
 JavaConfigurationClassLoader getJavaConfigurationClassLoader(VirtualFile pDirectory, java.lang.String pClassName, long pLastModifiedTime)
          Returns a JavaConfigurationClassLoader corresponding to the given directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

JavaConfigurationClassLoaders

public JavaConfigurationClassLoaders()
Constructs a new blank JavaConfigurationClassLoaders

Method Detail

getJavaConfigurationClassLoader

public JavaConfigurationClassLoader getJavaConfigurationClassLoader(VirtualFile pDirectory,
                                                                    java.lang.String pClassName,
                                                                    long pLastModifiedTime)
Returns a JavaConfigurationClassLoader corresponding to the given directory. If the class loader does not exist, or already exists but already contains an entry for the class that is out of date, then a new class loader is created and returned.