org.apache.avalon.framework.context

Interface Recontextualizable

All Superinterfaces:
Contextualizable

public interface Recontextualizable
extends Contextualizable

Extends Contextualizable to allow recontextualizing. This allows a component to re-receive it's context if container environment has changed.

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

Author:
Avalon Development Team

Method Summary

void
recontextualize(Context context)
Pass the new Context to the component.

Methods inherited from interface org.apache.avalon.framework.context.Contextualizable

contextualize

Method Details

recontextualize

public void recontextualize(Context context)
            throws ContextException
Pass the new Context to the component. This method is usually called when component is suspended via use of Suspendable.suspend() method.

Parameters:
context - the context

Throws:
ContextException - if context is invalid


"Copyright B) 2001 Apache Jakarta Project. All Rights Reserved."