|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.apache.struts.config Class ModuleConfigFactory
java.lang.Object | +--org.apache.struts.config.ModuleConfigFactory
- Direct Known Subclasses:
- DefaultModuleConfigFactory
- public abstract class ModuleConfigFactory
- extends java.lang.Object
A factory interface for creating ModuleConfig
s.
- Version:
- $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
- See Also:
ModuleConfig
Field Summary | |
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. |
Constructor Summary | |
ModuleConfigFactory()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
|
Field Detail |
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.
Constructor Detail |
ModuleConfigFactory
public ModuleConfigFactory()
Method Detail |
createModuleConfig
public abstract ModuleConfig createModuleConfig(java.lang.String prefix)
- Create and return a newly instansiated
ModuleConfig
. This method must be implemented by concrete subclasses. - Parameters:
prefix
- Module prefix for Configuration
getFactoryClass
public static java.lang.String getFactoryClass()
- The fully qualified class name that is used for
ModuleConfigFactory
instances. - Returns:
- 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. - Parameters:
factoryClass
- name that is used forModuleConfigFactory
instances
createFactory
public static ModuleConfigFactory createFactory()
- Create and return a
ModuleConfigFactory
instance of the appropriate class, which can be used to create customizedModuleConfig
instances. If no such factory can be created, returnnull
instead.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2000-2005 - The Apache Software Foundation