|
||||||||||
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 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. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.lang.Class clazz
ModuleConfigFactory
instances.
protected static java.lang.String factoryClass
ModuleConfigFactory
instances.
Constructor Detail |
---|
public ModuleConfigFactory()
Method Detail |
---|
public abstract ModuleConfig createModuleConfig(java.lang.String prefix)
ModuleConfig
. This
method must be implemented by concrete subclasses.
prefix
- Module prefix for Configurationpublic static java.lang.String getFactoryClass()
ModuleConfigFactory
instances.
ModuleConfigFactory
instancespublic static void setFactoryClass(java.lang.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 |