org.apache.tapestry5.ioc.services
Interface ThreadCleanupListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
EntityManagerManagerImpl, EnvironmentImpl, HibernateSessionManagerImpl, MultipartDecoderImpl, NonPoolingRequestPageCacheImpl

public interface ThreadCleanupListener
extends EventListener

Listener interface for object that need to know about thread event cleanup.

Note that registration with the PerthreadManager is a one-shot affair; it lasts no longer than the next cleanup.


Method Summary
 void threadDidCleanup()
          Invoked by PerthreadManager service when a thread performs and end-of-request cleanup.
 

Method Detail

threadDidCleanup

void threadDidCleanup()
Invoked by PerthreadManager service when a thread performs and end-of-request cleanup.



Copyright © 2003-2012 The Apache Software Foundation.