org.apache.catalina.startup
クラス ClassLoaderFactory

java.lang.Object
  |
  +--org.apache.catalina.startup.ClassLoaderFactory

public final class ClassLoaderFactory
extends java.lang.Object

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):

バージョン:
$Revision: 1.1.2.5 $ $Date: 2002/02/18 05:22:16 $
作成者:
Craig R. McClanahan

コンストラクタの概要
ClassLoaderFactory()
           
 
メソッドの概要
static java.lang.ClassLoader createClassLoader(java.io.File[] unpacked, java.io.File[] packed, java.lang.ClassLoader parent)
          Create and return a new class loader, based on the configuration defaults and the specified directory paths:
static int getDebug()
          Return the debugging detail level.
static void setDebug(int newDebug)
          Set the debugging detail level.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ClassLoaderFactory

public ClassLoaderFactory()
メソッドの詳細

getDebug

public static int getDebug()
Return the debugging detail level.

setDebug

public static void setDebug(int newDebug)
Set the debugging detail level.
パラメータ:
newDebug - The new debugging detail level

createClassLoader

public static java.lang.ClassLoader createClassLoader(java.io.File[] unpacked,
                                                      java.io.File[] packed,
                                                      java.lang.ClassLoader parent)
                                               throws java.lang.Exception
Create and return a new class loader, based on the configuration defaults and the specified directory paths:
パラメータ:
unpacked - Array of pathnames to unpacked directories that should be added to the repositories of the class loader, or null for no unpacked directories to be considered
packed - Array of pathnames to directories containing JAR files that should be added to the repositories of the class loader, or null for no directories of JAR files to be considered
parent - Parent class loader for the new class loader, or null for the system class loader.
例外:
java.lang.Exception - if an error occurs constructing the class loader


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.