Class ThreadContextHandler
java.lang.Object
org.exoplatform.container.component.ThreadContextHandler
This class is used to propagate Thread Local values from one thread to another
- Version:
- $Id$
- Author:
- Nicolas Filotto
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpush()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 Details
-
ThreadContextHandler
-
-
Method Details
-
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
-