public class KillbillEventRetriableBusHandler extends org.killbill.queue.retry.RetryableService implements KillbillEventRetriableBusHandlerService
| Modifier and Type | Class and Description |
|---|---|
protected static class |
KillbillEventRetriableBusHandler.OSGIBusEvent |
protected static class |
KillbillEventRetriableBusHandler.OSGIBusEventDeserializer |
KillbillService.ServiceException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXT_BUS_EVENT_LISTENER_SERVICE |
| Constructor and Description |
|---|
KillbillEventRetriableBusHandler(org.killbill.bus.api.PersistentBus externalBus,
KillbillEventObservable killbillEventObservable,
org.killbill.notificationq.api.NotificationQueueService notificationQueueService,
org.killbill.clock.Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
void |
handleKillbillEvent(org.killbill.billing.notification.plugin.api.ExtBusEvent extBusEvent) |
void |
initialize() |
void |
register() |
void |
start() |
void |
stop() |
void |
unregister() |
public static final java.lang.String EXT_BUS_EVENT_LISTENER_SERVICE
@Inject
public KillbillEventRetriableBusHandler(@Named(value="externalBus")
org.killbill.bus.api.PersistentBus externalBus,
KillbillEventObservable killbillEventObservable,
org.killbill.notificationq.api.NotificationQueueService notificationQueueService,
org.killbill.clock.Clock clock)
public void register()
throws org.killbill.bus.api.PersistentBus.EventBusException
org.killbill.bus.api.PersistentBus.EventBusExceptionpublic void unregister()
throws org.killbill.bus.api.PersistentBus.EventBusException
org.killbill.bus.api.PersistentBus.EventBusExceptionpublic java.lang.String getName()
getName in interface KillbillServicepublic void initialize()
public void start()
start in class org.killbill.queue.retry.RetryableServicepublic void stop()
throws org.killbill.notificationq.api.NotificationQueueService.NoSuchNotificationQueue
stop in class org.killbill.queue.retry.RetryableServiceorg.killbill.notificationq.api.NotificationQueueService.NoSuchNotificationQueuepublic void handleKillbillEvent(org.killbill.billing.notification.plugin.api.ExtBusEvent extBusEvent)
Copyright © 2010-2017. All Rights Reserved.