Interface Contextualizable
-
- All Known Subinterfaces:
Recontextualizable
public interface ContextualizableThis 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:
- $Id: Contextualizable.java 30977 2004-07-30 03:57:54 -0500 (Fri, 30 Jul 2004) niclas $
- Author:
- Avalon Development Team
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcontextualize(Context context)Pass the Context to the component.
-
-
-
Method Detail
-
contextualize
void contextualize(Context context) throws ContextException
Pass the Context to the component. This method is called after the LogEnabled.enableLogging( Logger ) (if present) method and before any other method.- Parameters:
context- the context. Must not benull.- Throws:
ContextException- if context is invalid
-
-