|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.composition.model.impl.DefaultContextModel
Specification of a context model from which a a fully qualifed context can be established.
Field Summary | |
static Class |
DEFAULT_CONTEXT_CLASS
The default context implementation class to be used if no context class is defined. |
Fields inherited from interface org.apache.avalon.composition.model.ContextModel |
DEFAULT_STRATEGY_CLASSNAME |
Constructor Summary | |
DefaultContextModel(Logger logger,
ContextDescriptor descriptor,
ContextDirective directive,
DeploymentContext context)
Default implementation of the context model. |
Method Summary | |
Context |
getContext()
Return the context objct established for the component. |
Class |
getStrategyClass()
Return the class representing the contextualization stage interface. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Class DEFAULT_CONTEXT_CLASS
Constructor Detail |
public DefaultContextModel(Logger logger, ContextDescriptor descriptor, ContextDirective directive, DeploymentContext context) throws ModelException
Default implementation of the context model. The implementation takes an inital system context as the base for context value establishment and uses this to set standard context entries.
logger
- the logging channeldescriptor
- the contextualization stage descriptordirective
- the contextualization directivecontext
- the deployment contextMethod Detail |
public Class getStrategyClass()
getStrategyClass
in interface ContextModel
public Context getContext()
getContext
in interface ContextModel
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |