Class HotelReservationSessionImpl

  • All Implemented Interfaces:
    HotelReservationSession

    public class HotelReservationSessionImpl
    extends Object
    implements HotelReservationSession
    This class represents some stateful business logic that caches desired reservations until the caller calls commit. At that time they will all be added to the hotel using the stateless reservationist.