org.xwiki.context
Interface Execution


@Role
public interface Execution

Allows setting/retrieving the ExecutionContext.

Since:
1.5M2
Version:
$Id: 2ce90b3c89a8cafa7df89be4c0460f7fbb8f64e4 $

Method Summary
 ExecutionContext getContext()
           
 void popContext()
          Remove a context level in the current thread.
 void pushContext(ExecutionContext context)
           
 void removeContext()
          Remove all context levels for the current thread.
 void setContext(ExecutionContext context)
           
 

Method Detail

getContext

ExecutionContext getContext()
Returns:
the current context of the current thread

setContext

void setContext(ExecutionContext context)
Parameters:
context - the current context of the current thread

pushContext

void pushContext(ExecutionContext context)
Parameters:
context - create a new context level for the current thread and set the provided context

popContext

void popContext()
Remove a context level in the current thread.


removeContext

void removeContext()
Remove all context levels for the current thread.



Copyright © 2004-2013 XWiki. All Rights Reserved.