public interface SessionCloseHandler
A handler invoked whenever a Session is closed.
Used to clean up stuff related to the Session.
Important: the close handler MUST NOT invoke any blocking or synchronized methods that could block the closing process!
- Author:
- harald
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterClose(Session session) Invoked after closing.voidbeforeClose(Session session) Invoked before closing.
-
Method Details
-
beforeClose
Invoked before closing.- Parameters:
session- the closing session
-
afterClose
Invoked after closing.- Parameters:
session- the closed session
-