org.xwiki.context
Interface ExecutionContextManager


@ComponentRole
public interface ExecutionContextManager

Provides various services for manipulating an ExecutionContext.

Version:
$Id$

Method Summary
 ExecutionContext clone(ExecutionContext context)
          Perform deep cloning of Execution Context properties.
 void initialize(ExecutionContext context)
          Initializes the passed Execution Context by executing all ExecutionContextInitializer registered components.
 

Method Detail

initialize

void initialize(ExecutionContext context)
                throws ExecutionContextException
Initializes the passed Execution Context by executing all ExecutionContextInitializer registered components.

Parameters:
context - the execution context to initialize
Throws:
ExecutionContextException - in case one ExecutionContextInitializer fails to execute

clone

ExecutionContext clone(ExecutionContext context)
                       throws ExecutionContextException
Perform deep cloning of Execution Context properties.

Parameters:
context - the execution context to clone
Returns:
the cloned Execution Context
Throws:
ExecutionContextException - if the Execution Context failed to be cloned for any reason


Copyright © 2004-2011 XWiki. All Rights Reserved.