Package org.zkoss.zk.ui.sys
Interface SessionResolver
- All Known Implementing Classes:
SessionResolverImpl
public interface SessionResolver
Used with
SessionsCtrl.setCurrent(SessionResolver)
to resolve a session dynamically.- Since:
- 5.0.0
- Author:
- tomyeh
-
Method Summary
Modifier and TypeMethodDescriptiongetSession(boolean create) Returns the session, or null if no session available andcreateis false.
-
Method Details
-
getSession
Returns the session, or null if no session available andcreateis false.- Parameters:
create- whether to create the session if not found. If true, a new session will be create if there is no one available.
-