Class ThreadContextHandler
- java.lang.Object
-
- 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
Constructors Constructor Description ThreadContextHandler(ExoContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpush()Pushes values stored into memory into all the Thread Local variables of all the registeredThreadContextHolderof theExoContainervoidrestore()Restores all the Thread Local variables of all the registeredThreadContextHolderof theExoContainervoidstore()Stores into memory the current values of all the Thread Local variables of all the registeredThreadContextHolderof theExoContainer
-
-
-
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 registeredThreadContextHolderof theExoContainer
-
push
public void push()
Pushes values stored into memory into all the Thread Local variables of all the registeredThreadContextHolderof theExoContainer
-
restore
public void restore()
Restores all the Thread Local variables of all the registeredThreadContextHolderof theExoContainer
-
-