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

📄 webappctrl.java

📁 ZK 基础介绍 功能操作 模块 结合数据库操作
💻 JAVA
字号:
/* WebAppCtrl.java{{IS_NOTE	Purpose:			Description:			History:		Tue Apr 18 11:07:30     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.sys;import org.zkoss.zk.ui.Session;import org.zkoss.zk.ui.util.Configuration;/** * Additional interface of {@link org.zkoss.zk.ui.WebApp} for implementation. * <p>Note: applications shall never access this interface. *  * @author tomyeh */public interface WebAppCtrl {	/** Initializes this Web application.	 *	 * @param context the servlet context, if servlets are used.	 * Currently, ZK supports only servlets. In the future there might be	 * more to support.	 * @param config the configuration (never null)	 */	public void init(Object context, Configuration config);	/** Destroys this Web applicaiton.	 * <p>Note; once destroyed, this instance cannot be used anymore.	 */	public void destroy();	/** Returns the UI engine for this Web application (never null).	 */	public UiEngine getUiEngine();	/** Returns the desktop cache.	 * A shortcut of {@link #getDesktopCacheProvider}'s	 * {@link DesktopCacheProvider#getDesktopCache}.	 */	public DesktopCache getDesktopCache(Session sess);	/** Returns the desktop cache provider.	 */	public DesktopCacheProvider getDesktopCacheProvider();	/** Returns the UI factory for this Web application (never null).	 */	public UiFactory getUiFactory();	/** Returns the failover manager, or null if not available.	 */	public FailoverManager getFailoverManager();	/** Returns the ID generator, or null if not available.	 *	 * @since 2.4.1	 */	public IdGenerator getIdGenerator();	/** Notification that the session is about to be passivated	 * (aka., serialized).	 */	public void sessionWillPassivate(Session sess);	/** Notification that the session has just been activated	 * (aka., deserialized).	 */	public void sessionDidActivate(Session sess);}

⌨️ 快捷键说明

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