itransaction.java

来自「一个在线学习系统的服务端SERVLET程序」· Java 代码 · 共 39 行

JAVA
39
字号
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 + =
减小字号Ctrl + -
显示快捷键?