org.jboss.seam.examples.booking.log
Interface BookingLog


public interface BookingLog

Author:
Dan Allen

Method Summary
 void bookingConfirmed(String hotelName, String customerName)
           
 void bookingInitiated(String customerName, String hotelName)
           
 void hotelEntityInPersistenceContext(boolean state)
           
 void hotelSelected(String customerName, String hotelName, String city)
           
 

Method Detail

hotelSelected

@Log(level=INFO)
@Message(value="%s selected the %s in %s.")
void hotelSelected(String customerName,
                               String hotelName,
                               String city)

bookingInitiated

@Log(level=INFO)
@Message(value="%s initiated a booking at the %s.")
void bookingInitiated(String customerName,
                                  String hotelName)

bookingConfirmed

@Log(level=INFO)
@Message(value="New booking at the %s confirmed for %s.")
void bookingConfirmed(String hotelName,
                                  String customerName)

hotelEntityInPersistenceContext

@Log(level=INFO)
@Message(value="Does the persistence context still contain the hotel instance? %s")
void hotelEntityInPersistenceContext(boolean state)


Copyright © 2011 Seam Framework. All Rights Reserved.