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

📄 itransaction.java

📁 一个在线学习系统的服务端SERVLET程序
💻 JAVA
字号:
package eols.logic.base;

import java.util.Map;
import eols.storage.base.IStorage;

/**
 * The general interface for all system transactions, such as
 * verifying user's login information, etc.
 *
 * @author Fasheng Qiu
 * @since 11/01/2007
 *
 */
public interface ITransaction {

	/**
	 * Return the storage manager used by this
	 * transaction manager.
	 *
	 * @return The used storage manager
	 */
	public IStorage getStorageManager();

	/**
	 * Process the specified transaction. All necessary parameters are
	 * wrapped in a map which is provided by specific caller.
	 *
	 * <p>
	 * A runtime exception may be thrown out, according to specific
	 * transactions.
	 * </p>
	 *
	 * @param parameters Parameters to pass
	 * @return The handling result object
	 */
	public Object process(Map parameters);

}

⌨️ 快捷键说明

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