|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
org.apache.myfaces.trinidad.util.ThreadLocalUtils.ThreadLocalLifecycle
public abstract static class ThreadLocalUtils.ThreadLocalLifecycle
Integration interface implemented by an object that cleans up the ThreadLocals in a ThreadLocalManager with the specified lifetime. The ThreadLocalLifecycle cleans up the ThreadLocals by calling removeThreadLocals on the ThreadLocalManager passed to it in init at the appropriate time.
ThreadLocalUtils.ThreadLocalManager, init(org.apache.myfaces.trinidad.util.ThreadLocalUtils.ThreadLocalManager)| Constructor Summary | |
|---|---|
ThreadLocalUtils.ThreadLocalLifecycle() |
|
| Method Summary | |
|---|---|
abstract void |
init(ThreadLocalUtils.ThreadLocalManager manager)Called after instantiating the ThreadLocalLifecycle so that the ThreadLocalLifecycle can clean up the ThreadLocalManager at the appropriate moment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadLocalUtils.ThreadLocalLifecycle()
| Method Detail |
|---|
public abstract void init(ThreadLocalUtils.ThreadLocalManager manager)
manager - Manager of ThreadLocals that will be cleaned up by this ThreadLocalLifecycle.ThreadLocalUtils.ThreadLocalManager.removeThreadLocals()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.