org.xwiki.context.concurrent
Class ExecutionContextRunnable

java.lang.Object
  extended by org.xwiki.context.concurrent.ExecutionContextRunnable
All Implemented Interfaces:
Runnable

public class ExecutionContextRunnable
extends Object
implements Runnable

Runnable wrapper which initialize and clean the execution context.

Since:
5.1RC1
Version:
$Id: db01067472cc3d68fcb5e2bf17378173fc1a518c $

Constructor Summary
ExecutionContextRunnable(Runnable runnable, ComponentManager componentManager)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionContextRunnable

public ExecutionContextRunnable(Runnable runnable,
                                ComponentManager componentManager)
Parameters:
runnable - used to access the components needed to initialize and dispose the ExecutionContext.
componentManager - the runnable to wrap.
Method Detail

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2004–2015 XWiki. All rights reserved.