-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Currently, the way to track if a BrowserPage instance is removed from BrowserPageContext is writing code inside session close listener.
When BrowserPageContext.INSTANCE.httpSessionClosed(session.getId()); is called inside session close listener all BrowserPage instances under that session will be removed from context. And using BrowserPageContext.INSTANCE.getBrowserPages(httpSessionId) all browserPages under that session can be retrieved before invoking httpSessionClosed.
For better convenience of the developer :-
Proposing a overriding method removedFromContext in BrowserPage which will be executed when the BrowserPage instances is removed from BrowserPageContext.
Reactions are currently unavailable