⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 executioncleanup.java

📁 ZK 基础介绍 功能操作 模块 结合数据库操作
💻 JAVA
字号:
/* ExecutionCleanup.java{{IS_NOTE	Purpose:			Description:			History:		Thu Aug 24 23:31:23     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 java.util.List;import org.zkoss.zk.ui.Execution;/** * Used to clean up an execution. * * <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 an exection, an instnace of * the specified class is instantiated and {@link #cleanup} is called.</li> * </ol> *  * @author tomyeh */public interface ExecutionCleanup {	/** called when an execution is about to be destroyed.	 *	 * <p>If this method throws an exception, the stack trace will be logged,	 * and the error message will be displayed at the client.	 *	 * @param exec the exection to clean up.	 * @param parent the previous execution, or null if no previous at all	 * @param errs a list of exceptions (java.lang.Throwable) if any exception	 * occured before this method is called, or null if no exeption at all.	 * Note: you can manipulate the list directly to add or clean up exceptions.	 * For example, if exceptions are fixed correctly, you can call errs.clear()	 * such that no error message will be displayed at the client.	 */	public void cleanup(Execution exec, Execution parent, List errs)	throws Exception;}

⌨️ 快捷键说明

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