|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidad.util.ThreadLocalUtils.ThreadLocalLifecycle
org.apache.myfaces.trinidadinternal.config.ThreadLocalResetter
public class ThreadLocalResetter
Implementation of ThreadLocalLifecycle for request-scoped ThreadLocals, registered through META-INF/SERVICES. This class cooperates with GlobalConfiguratorImpl in order to ensure that the request-scoped ThreadLocals are cleaned up at the end of each request.
| Constructor Summary | |
|---|---|
ThreadLocalResetter()
All class to be instatiated through reflection |
|
| Method Summary | |
|---|---|
void |
init(org.apache.myfaces.trinidad.util.ThreadLocalUtils.ThreadLocalManager manager)
Called by ThreadLocalUtils after instantiating the ThreadLocalResetter in order to pass the ThreadLocalManager to use to clean up the request-scoped ThreadLocals. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadLocalResetter()
| Method Detail |
|---|
public void init(org.apache.myfaces.trinidad.util.ThreadLocalUtils.ThreadLocalManager manager)
init in class org.apache.myfaces.trinidad.util.ThreadLocalUtils.ThreadLocalLifecycle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||