eXo Kernel :: Container 2.4.11-UXP01

org.exoplatform.container.component
Class ThreadContextHandler

java.lang.Object
  extended by org.exoplatform.container.component.ThreadContextHandler

public class ThreadContextHandler
extends Object

This class is used to propagate Thread Local values from one thread to another

Version:
$Id$
Author:
Nicolas Filotto

Constructor Summary
ThreadContextHandler(ExoContainer container)
           
 
Method Summary
 void push()
          Pushes values stored into memory into all the Thread Local variables of all the registered ThreadContextHolder of the ExoContainer
 void restore()
          Restores all the Thread Local variables of all the registered ThreadContextHolder of the ExoContainer
 void store()
          Stores into memory the current values of all the Thread Local variables of all the registered ThreadContextHolder of the ExoContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadContextHandler

public ThreadContextHandler(ExoContainer container)
Method Detail

store

public void store()
Stores into memory the current values of all the Thread Local variables of all the registered ThreadContextHolder of the ExoContainer


push

public void push()
Pushes values stored into memory into all the Thread Local variables of all the registered ThreadContextHolder of the ExoContainer


restore

public void restore()
Restores all the Thread Local variables of all the registered ThreadContextHolder of the ExoContainer


eXo Kernel :: Container 2.4.11-UXP01

Copyright © 2014 eXo Platform SAS. All Rights Reserved.