|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.util.framework.AbstractFactory
de.dante.extex.interpreter.context.ContextFactory
This class provides a factory for a
Context
.
<Context class="the.package.TheClass"> </Context>
Constructor Summary | |
ContextFactory(Configuration configuration,
java.util.logging.Logger logger)
Creates a new object. |
Method Summary | |
Context |
newInstance(java.lang.String type)
Get an instance of a context. |
Methods inherited from class de.dante.util.framework.AbstractFactory |
configure, configure, createInstance, createInstance, createInstance, createInstanceForConfiguration, createInstanceForConfiguration, createInstanceForConfiguration, enableLogging, enableLogging, getConfiguration, getLogger, reconnect, selectConfiguration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContextFactory(Configuration configuration, java.util.logging.Logger logger) throws ConfigurationException
configuration
- the configuration for this factorylogger
- the logger
ConfigurationException
- in case of an error in the configuration.Method Detail |
public Context newInstance(java.lang.String type) throws ConfigurationException
null
or the empty string then the default from the
configuration is used.
type
- the type to use
ConfigurationException
- in case of an configuration error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |