Recontextualizable
Date: 2016-02-08

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.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

          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