|
|||||||||||
| 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.ReserveRoomsCompensation
Implements the compensation for a previously made room reservation in a given hotel.
| Constructor Summary | |
ReserveRoomsCompensation(HotelBean hotelBean,
int nRooms)
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 ReserveRoomsCompensation(HotelBean hotelBean,
int nRooms)
hotelBean - nRooms - | Method Detail |
public void compensate()
compensate in interface javax.activity.opennested.Compensatorpublic 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 | ||||||||||