org.apache.struts.config
クラス ModuleConfigFactory

java.lang.Object
  拡張org.apache.struts.config.ModuleConfigFactory
直系の既知のサブクラス:
DefaultModuleConfigFactory

public abstract class ModuleConfigFactory
extends java.lang.Object

A factory interface for creating ModuleConfigs.

バージョン:
$Revision: 1.1 $ $Date: 2004/10/20 03:26:41 $
関連項目:
ModuleConfig

フィールドの概要
protected static java.lang.Class clazz
          The Java class to be used for ModuleConfigFactory instances.
protected static java.lang.String factoryClass
          The fully qualified class name to be used for ModuleConfigFactory instances.
private static org.apache.commons.logging.Log LOG
          Commons Logging instance.
 
コンストラクタの概要
ModuleConfigFactory()
           
 
メソッドの概要
static ModuleConfigFactory createFactory()
          Create and return a ModuleConfigFactory instance of the appropriate class, which can be used to create customized ModuleConfig instances.
abstract  ModuleConfig createModuleConfig(java.lang.String prefix)
          Create and return a newly instansiated ModuleConfig.
static java.lang.String getFactoryClass()
          The fully qualified class name that is used for ModuleConfigFactory instances.
static void setFactoryClass(java.lang.String factoryClass)
          Set the fully qualified class name that is used for ModuleConfigFactory instances.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

clazz

protected static java.lang.Class clazz
The Java class to be used for ModuleConfigFactory instances.


LOG

private static final org.apache.commons.logging.Log LOG
Commons Logging instance.


factoryClass

protected static java.lang.String factoryClass
The fully qualified class name to be used for ModuleConfigFactory instances.

コンストラクタの詳細

ModuleConfigFactory

public ModuleConfigFactory()
メソッドの詳細

createModuleConfig

public abstract ModuleConfig createModuleConfig(java.lang.String prefix)
Create and return a newly instansiated ModuleConfig. This method must be implemented by concrete subclasses.

パラメータ:
prefix - Module prefix for Configuration

getFactoryClass

public static java.lang.String getFactoryClass()
The fully qualified class name that is used for ModuleConfigFactory instances.

戻り値:
class name that is used for ModuleConfigFactory instances

setFactoryClass

public static void setFactoryClass(java.lang.String factoryClass)
Set the fully qualified class name that is used for ModuleConfigFactory instances.

パラメータ:
factoryClass - name that is used for ModuleConfigFactory instances

createFactory

public static ModuleConfigFactory createFactory()
Create and return a ModuleConfigFactory instance of the appropriate class, which can be used to create customized ModuleConfig instances. If no such factory can be created, return null instead.



このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2004 - Apache Software Foundation