|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.excalibur.configuration.ContextFactory
ContextFactory is a utility class that provides support for the creation context instances based on a XML context desciption.
| Constructor Summary | |
ContextFactory()
|
|
| Method Summary | |
static Context |
createContextFromConfiguration(Configuration config)
Create context-attributes from entrys within <context/>-tag in config |
static Context |
createContextFromConfiguration(Context parent,
Configuration config)
Create context-attributes from entrys within <context/>-tag in config |
static Context |
createContextFromConfiguration(Context parent,
Configuration config,
Logger log)
Create context-attributes from entrys within <context/>-tag in config |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContextFactory()
| Method Detail |
public static Context createContextFromConfiguration(Configuration config)
throws ConfigurationException
config - the context configuration
ConfigurationException - if a context related error occurs
public static Context createContextFromConfiguration(Context parent,
Configuration config)
throws ConfigurationException
parent - the parent contextconfig - the configuration element describing the context parameters
ConfigurationException - if a context related error occurs
public static Context createContextFromConfiguration(Context parent,
Configuration config,
Logger log)
throws ConfigurationException
parent - the parent contextconfig - the configuration element describing the context parameterslog - a logging channel
ConfigurationException - if a context related error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||