|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jass.examples.travelagency.ejbs.compensations.ReserveSeatsCompensation
Implements the compensation for a previously made seat reservation in a given flight.
Constructor Summary | |
ReserveSeatsCompensation(AirlineBean airlineBean,
int nSeats)
Constructor |
Method Summary | |
void |
compensate()
Invokes the compensation method. |
void |
forget()
Clears the internal attributes. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReserveSeatsCompensation(AirlineBean airlineBean, int nSeats)
airlineBean
- - a reference to the airline EJB.nSeats
- The number of reserved seats.Method Detail |
public void compensate()
compensate
in interface javax.activity.opennested.Compensator
public void forget()
forget
in interface javax.activity.opennested.Compensator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |