Interface ThreadCleanupListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
EntityManagerManagerImpl,HibernateSessionManagerImpl,MongoDBImpl,MultipartDecoderImpl
Deprecated.
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
Modifier and TypeMethodDescriptionvoidDeprecated.Invoked byPerthreadManagerservice when a thread performs and end-of-request cleanup.
-
Method Details
-
threadDidCleanup
void threadDidCleanup()Deprecated.Invoked byPerthreadManagerservice when a thread performs and end-of-request cleanup.
-
PerthreadManager.addThreadCleanupCallback(Runnable)instead.