sessioncleanup.java

来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· Java 代码 · 共 45 行

JAVA
45
字号
/* SessionCleanup.java{{IS_NOTE	Purpose:			Description:			History:		Wed Mar 22 11:34:15     2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT	This program is distributed under GPL Version 2.0 in the hope that	it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.zk.ui.util;import org.zkoss.zk.ui.Session;/** * Used to clean up a session. * * <p>How this interface is used. * <ol> * <li>First, you specify a class that implements this interface * in WEB-INF/zk.xml as a listener. * </li> * <li>Then, even time ZK loader is destroying a session, an instnace of * the specified class is instantiated and {@link #cleanup} is called.</li> * </ol> * * @author tomyeh */public interface SessionCleanup {	/** called when a session is about to be destroyed.	 *	 * <p>If this method throws an exception, the error message is	 * only logged (user won't see it).	 */	public void cleanup(Session sess);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?