Listener interface for object that need to know about thread event cleanup.
Note that registration with the {@link org.apache.tapestry5.ioc.services.PerthreadManager} is a one-shot affair; itlasts no longer than the next cleanup.
@deprecated Deprecated in 5.4, use {@link PerthreadManager#addThreadCleanupCallback(Runnable)} instead.