Interface ThreadCleanupListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
EntityManagerManagerImpl,HibernateSessionManagerImpl,MongoDBImpl,MultipartDecoderImpl
public interface ThreadCleanupListener extends java.util.EventListener
Deprecated.Deprecated in 5.4, usePerthreadManager.addThreadCleanupCallback(Runnable)instead.Listener interface for object that need to know about thread event cleanup. Note that registration with thePerthreadManageris a one-shot affair; it lasts no longer than the next cleanup.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidthreadDidCleanup()Deprecated.Invoked byPerthreadManagerservice when a thread performs and end-of-request cleanup.
-
-
-
Method Detail
-
threadDidCleanup
void threadDidCleanup()
Deprecated.Invoked byPerthreadManagerservice when a thread performs and end-of-request cleanup.
-
-