📄 airlinereservationlocalobject.java
字号:
/*
* WebLogic Server Unleashed
*
*/
package com.wlsunleashed.ejb.session.stateless;
import java.util.Properties;
import javax.ejb.EJBLocalObject;
/**
* This class reprents the Local object interface to the AirlineReservation
* Stateless Session EJB
*
* @version 1.0
*/
public interface AirlineReservationLocalObject extends EJBLocalObject {
/**
* Returns the flight information as a property file.
*
* @param flightNumber int: The flight number to be looked up
*
* @return Properties: The flight information
*
* @exception AirlineReservationException Thrown when any business
* exception or high-level sub-system exception occurs
*/
Properties getFlightInfo(int flightNumber)
throws AirlineReservationException;
/**
* TODO
*
* @param origin TODO
* @param destination TODO
*
* @return TODO
*
* @exceptions AirlineReservationException TODO
*/
/**
* Returns a list of flight numbers that operate between the given sets of
* cities
*
*/
int[] getFlightNumbers(String origin, String destination)
throws AirlineReservationException;
/**
* Reserves the number of seats on the given flight.
*
* @param flightNumber int: The flight number to be looked up
* @param numSeats int: The number of seats to be reserved.
*
* @throws AirlineReservationException Thrown when any business exception
* or high-level sub-system exception occurs
*/
void reserveSeats(int flightNumber, int numSeats)
throws AirlineReservationException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -