org.zkoss.zk.ui
Class Sessions

java.lang.Object
  extended by org.zkoss.zk.ui.Sessions
Direct Known Subclasses:
SessionsCtrl

public class Sessions
extends java.lang.Object

Utilities to access Session.

Author:
tomyeh

Field Summary
protected static java.lang.ThreadLocal _sess
          Used to the store the session for the current thread.
 
Constructor Summary
protected Sessions()
           
 
Method Summary
static Session getCurrent()
          Returns the session for the current thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_sess

protected static final java.lang.ThreadLocal _sess
Used to the store the session for the current thread.

Constructor Detail

Sessions

protected Sessions()
Method Detail

getCurrent

public static final Session getCurrent()
Returns the session for the current thread.



Copyright © 2005-2009 Potix Corporation. All Rights Reserved.