org.apache.avalon.framework.context

Interface Contextualizable

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.

Version: CVS $Revision: 1.13 $ $Date: 2003/02/11 15:58:40 $

Author: Avalon Development Team

Method Summary
voidcontextualize(Context context)
Pass the Context to the component.

Method Detail

contextualize

public void contextualize(Context context)
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. Must not be null.

Throws: ContextException if context is invalid