org.apache.avalon.framework.context
Interface Contextualizable
- All Known Subinterfaces:
- Recontextualizable
- public interface Contextualizable
This inteface should be implemented by components that need
a Context to work. Context contains runtime generated object
provided by the Container to this Component.
- Author:
- Federico Barbieri, Pierpaolo Fumagalli, Stefano Mazzocchi
contextualize
public void contextualize(Context context)
throws ContextException
- Pass the Context to the component.
This method is called after the Loggable.setLogger() (if present)
method and before any other method.
- Parameters:
context
- the context- Throws:
ContextException
- if context is invalid
"Copyright © 2001 Apache Jakarta Project. All Rights Reserved."