|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.checkout.handlers.CompositeNotificationHandler
public class CompositeNotificationHandler
Constructor Summary | |
---|---|
CompositeNotificationHandler()
|
Method Summary | |
---|---|
void |
handle(MerchantInfo mi,
CheckoutNotification notification)
Processes each CheckoutNotification as required. |
void |
register(java.lang.String notificationType,
NotificationHandler notificationHandler)
Associates the NotificationHandler with the specified notificationType. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeNotificationHandler()
Method Detail |
---|
public void handle(MerchantInfo mi, CheckoutNotification notification) throws CheckoutHandlerException
handle
in interface NotificationHandler
mi
- The merchant infonotification
- The notification message
CheckoutHandlerException
- if an error
occured
while processing the notificationpublic void register(java.lang.String notificationType, NotificationHandler notificationHandler)
notificationType
- The notification typenotificationHandler
- The handler that will handle notifications of
the specified notificationType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |