org.xwiki.context
Interface ExecutionContextManager


@Role
public interface ExecutionContextManager

Provides various services for manipulating an ExecutionContext.

Version:
$Id: d83044c91ceee3c2967b4ac2da72f2cf01959e29 $

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

Method Detail

initialize

void initialize(ExecutionContext context)
                throws ExecutionContextException
Set the passed Execution Context in Execution and initialize it 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-2012 XWiki. All Rights Reserved.