airlineshoppingcartremotehome.java

来自「BEA WebLogic Server 8.1大全 = BEA webLogic」· Java 代码 · 共 49 行

JAVA
49
字号
/* 
 * WebLogic Server Unleashed
 * 
 */


package com.wlsunleashed.ejb.session.stateful;

import java.rmi.RemoteException;

import javax.ejb.CreateException;
import javax.ejb.EJBHome;


/**
 * This class Represents a remote home interface  for the AirlineShoppingCart
 * EJB Stateful session bean
 * 
 * @version 1.0
 */
public interface AirlineShoppingCartRemoteHome extends EJBHome {
    /**
     * The default create method
     * 
     * @return A Local object for the Airline Shopping Cart EJB
     * 
     * @throws CreateException Thrown when any error occurs  while creating a
     *         new bean instance
     * @throws RemoteException Thrown when any remote exception occurs
     */
    AirlineShoppingCartRemoteObject create()
                                    throws RemoteException, CreateException;

    /**
     * The create method that takes the origin and destination locations
     * 
     * @param origin The origin airport
     * @param destination The destination airport
     * 
     * @return A Local object for the Airline Shopping Cart EJB
     * 
     * @throws CreateException Thrown when any error occurs  while creating a
     *         new bean instance
     * @throws RemoteException Thrown when any remote exception occurs
     */
    AirlineShoppingCartRemoteObject create(String origin, String destination)
                                    throws RemoteException, CreateException;
}

⌨️ 快捷键说明

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