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

📄 shoppingclientcontroller.java

📁 一个优秀的供应商管理系统
💻 JAVA
字号:
package apusic.myshop.control.ejb;import java.util.Collection;import java.rmi.RemoteException;import javax.ejb.EJBObject;import javax.ejb.FinderException;import apusic.myshop.cart.ejb.Cart;import apusic.myshop.customer.ejb.Customer;import apusic.myshop.order.ejb.Order;import apusic.myshop.control.event.BaseEvent;import apusic.myshop.control.EventException;/** * This is the EJB-tier controller of the MVC. * It is implemented as a session EJB. It controls all the activities * that happen in a client session. * It also provides mechanisms to access other session EJBs. * @author Inderjeet Singh */public interface ShoppingClientController extends EJBObject {  public Collection handleEvent(BaseEvent be)	  throws RemoteException, EventException;  public Collection getOrders(String userId)	  throws RemoteException, FinderException;  public Order getOrder(int requestId)	  throws RemoteException, FinderException;  /** @return the shopping cart session bean for this user. */  public Cart getCart() throws RemoteException;  public Customer getCustomer() throws RemoteException;}

⌨️ 快捷键说明

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