?? shoppingclientcontroller.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; 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 + -