Skip navigation links
org.apache.myfaces.trinidad.util
Class ThreadLocalUtils.ThreadLocalLifecycle
java.lang.Object
org.apache.myfaces.trinidad.util.ThreadLocalUtils.ThreadLocalLifecycle
- Enclosing class:
- ThreadLocalUtils
-
public abstract static class ThreadLocalUtils.ThreadLocalLifecycle
- extends Object
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.
- See Also:
ThreadLocalUtils.ThreadLocalManager, init(org.apache.myfaces.trinidad.util.ThreadLocalUtils.ThreadLocalManager)
| 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 |
ThreadLocalUtils.ThreadLocalLifecycle
public ThreadLocalUtils.ThreadLocalLifecycle()
init
public abstract void init(ThreadLocalUtils.ThreadLocalManager manager)
- Called after instantiating the ThreadLocalLifecycle so that the ThreadLocalLifecycle can clean up the ThreadLocalManager at the appropriate moment.
-
- Parameters:
manager - Manager of ThreadLocals that will be cleaned up by this ThreadLocalLifecycle.
- See Also:
ThreadLocalUtils.ThreadLocalManager.removeThreadLocals()
Skip navigation links
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.