org.apache.struts.config
Class ModuleConfigFactory
java.lang.Object
org.apache.struts.config.ModuleConfigFactory
public abstract class ModuleConfigFactory
extends java.lang.Object
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $private static Log | LOG - Commons Logging instance.
|
protected static Class | clazz - The Java class to be used for
ModuleConfigFactory instances.
|
protected static String | factoryClass - The fully qualified class name to be used for
ModuleConfigFactory instances.
|
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(String prefix) - Create and return a newly instansiated
ModuleConfig .
|
static String | getFactoryClass() - The fully qualified class name that is used for
ModuleConfigFactory instances.
|
static void | setFactoryClass(String factoryClass) - Set the fully qualified class name that is used for
ModuleConfigFactory instances.
|
LOG
private static final Log LOG
Commons Logging instance.
clazz
protected static Class clazz
The Java class to be used for
ModuleConfigFactory
instances.
factoryClass
protected static String factoryClass
The fully qualified class name to be 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.
createModuleConfig
public abstract ModuleConfig createModuleConfig(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 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(String factoryClass)
Set the fully qualified class name that is used for
ModuleConfigFactory
instances.
factoryClass
- name that is used for
ModuleConfigFactory
instances
Copyright B) 2000-2007 - The Apache Software Foundation