|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.config.ModuleConfigFactory
public abstract class ModuleConfigFactory
A factory interface for creating ModuleConfig
s.
ModuleConfig
Field Summary | |
---|---|
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. |
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(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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Class clazz
ModuleConfigFactory
instances.
protected static String factoryClass
ModuleConfigFactory
instances.
Constructor Detail |
---|
public ModuleConfigFactory()
Method Detail |
---|
public abstract ModuleConfig createModuleConfig(String prefix)
ModuleConfig
. This
method must be implemented by concrete subclasses.
prefix
- Module prefix for Configurationpublic static String getFactoryClass()
ModuleConfigFactory
instances.
ModuleConfigFactory
instancespublic static void setFactoryClass(String factoryClass)
ModuleConfigFactory
instances.
factoryClass
- name that is used for ModuleConfigFactory
instancespublic static ModuleConfigFactory createFactory()
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |