pricer.java

来自「一本关于EJB的书」· Java 代码 · 共 24 行

JAVA
24
字号
package examples;

import javax.ejb.*;
import java.rmi.RemoteException;
import java.rmi.Remote;

/**
 * These are the business logic methods exposed publicly
 * by PricerBean.
 *
 * This interface is what clients operate on when they
 * interact with beans. The container vendor will
 * implement this interface; the implementation object is
 * called the EJB Object, which delegates invocations to
 * the actual bean.
 */
public interface Pricer extends EJBObject {

	/**
	 * Computes the price of a set of goods
	 */
	public void price(Cart cart) throws RemoteException, PricerException;
}

⌨️ 快捷键说明

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