org.apache.avalon.framework.context

Interface Recontextualizable

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: $Id: Recontextualizable.java 30977 2004-07-30 03:57:54 -0500 (Fri, 30 Jul 2004) niclas $

Author: Avalon Development Team

Method Summary
voidrecontextualize(Context context)
Pass the new Context to the component.

Method Detail

recontextualize

public void recontextualize(Context context)
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