Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » startup » [javadoc | source]
org.apache.catalina.startup
public final class: ClassLoaderFactory [javadoc | source]
java.lang.Object
   org.apache.catalina.startup.ClassLoaderFactory

Utility class for building class loaders for Catalina. The factory method requires the following parameters in order to build a new class loader (with suitable defaults in all cases):

Field Summary
protected static final  Integer IS_DIR     
protected static final  Integer IS_JAR     
protected static final  Integer IS_GLOB     
protected static final  Integer IS_URL     
Method from org.apache.catalina.startup.ClassLoaderFactory Summary:
createClassLoader,   createClassLoader,   createClassLoader
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.startup.ClassLoaderFactory Detail:
 public static ClassLoader createClassLoader(File[] unpacked,
    File[] packed,
    ClassLoader parent) throws Exception 
    Create and return a new class loader, based on the configuration defaults and the specified directory paths:
 public static ClassLoader createClassLoader(String[] locations,
    Integer[] types,
    ClassLoader parent) throws Exception 
    Create and return a new class loader, based on the configuration defaults and the specified directory paths:
 public static ClassLoader createClassLoader(File[] unpacked,
    File[] packed,
    URL[] urls,
    ClassLoader parent) throws Exception 
    Create and return a new class loader, based on the configuration defaults and the specified directory paths: