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
 Session getSession(boolean create)
          Returns the session, or null if no session available and create is false.
 

Method Detail

getSession

Session getSession(boolean create)
Returns the session, or null if no session available and create is 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.


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo