getHandle(String className) Gets the information related to a class existing in the Provider class
base directory either in the form of a class file or a Jar file
Parameters: className - Name of the class as String File handle to the class file or the Jar file in which this classexists.
getModifiedTime(String className) Gets the information related to a class existing in the Provider class
base directory either in the form of a class file or a Jar file
Parameters: className - Name of the class as String Last modified time the class file or the Jar file in which thisclass exists.
Gets the information related to a class existing in the Provider class
base directory either in the form of a class file or a Jar file
Parameters: className - Name of the class as String File handle to the class file or the Jar file in which this classexists. The return value is null if the class does not exist inthe cache.
Gets an instance of ClassInfoCache
Parameters: providerBaseDir - Directory from which provider classes will be loaded as String instance of ClassInfoCache
Gets the File handle to a JarFile to which the class exists under the
Provider class base directory
Parameters: className - Name of the class as String File handle to a Jar File if the class exists in a Jar elsenull exception: IOException - throws I/O Exception
getModifiedTime
public long getModifiedTime(String className)(Code)
Gets the information related to a class existing in the Provider class
base directory either in the form of a class file or a Jar file
Parameters: className - Name of the class as String Last modified time the class file or the Jar file in which thisclass exists. This is the last modified time when the class wasloaded.
A static method that returns a string representing all the classes and the
Jar files in the Provider class base directory
This method is called by the JSPServletWrapper
Provider classpath as a String
removeClassInfo
public void removeClassInfo(String className)(Code)
Removes the information related to a class from the Cache
Parameters: className - Name of the class as String
setClassInfo
public void setClassInfo(String className, boolean fromJar, File fileHandle)(Code)
Sets the information related to a class into the cache
Parameters: className - Name of the class as a String Parameters: fromJar - true if the class exists in a a Jar file under theProvider Class base directory Parameters: fileHandle - handle to the class file if existing as a class fileof handle to the Jar file if the class is inside a Jarfile
Sets the information related to classes existing in JarFile into cache
Parameters: jarFileHandle - File handle to the Jar File Parameters: jarContent - An Enumeration containing the Zip Entries in Jarfile