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:
$Id: Recontextualizable.java 30977 2004-07-30 08:57:54Z niclas $
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 Detail

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 © 1997-2005 The Apache Software Foundation. All Rights Reserved.