Interface CloseContext
- All Superinterfaces:
ViewContext
- All Known Implementing Classes:
CloseContextImpl
Context for
View.onClose: the session is tearing down.
Phase validity: update() throws IllegalStateException. Calling
openView(...) from onClose is illegal; the call is logged SEVERE and
dropped immediately to prevent navigation loops. close() is a no-op because
the session is already closing.
-
Method Summary
Modifier and TypeMethodDescription@NotNull CloseReasonreason()Returns why this session is closing.
-
Method Details
-
reason
Returns why this session is closing.- Returns:
- the close reason
-