public abstract class DefaultOverdueNotifierBase extends java.lang.Object implements OverdueNotifier
| Modifier and Type | Field and Description |
|---|---|
protected OverdueProperties |
config |
protected OverdueDispatcher |
dispatcher |
protected org.killbill.notificationq.api.NotificationQueueService |
notificationQueueService |
protected org.killbill.notificationq.api.NotificationQueue |
overdueQueue |
| Constructor and Description |
|---|
DefaultOverdueNotifierBase(org.killbill.notificationq.api.NotificationQueueService notificationQueueService,
OverdueProperties config,
InternalCallContextFactory internalCallContextFactory,
OverdueDispatcher dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
protected InternalCallContext |
createCallContext(java.util.UUID userToken,
java.lang.Long accountRecordId,
java.lang.Long tenantRecordId) |
abstract java.lang.String |
getQueueName() |
abstract void |
handleReadyNotification(org.killbill.notificationq.api.NotificationEvent notificationKey,
org.joda.time.DateTime eventDate,
java.util.UUID userToken,
java.lang.Long accountRecordId,
java.lang.Long tenantRecordId) |
void |
initialize() |
void |
start() |
void |
stop() |
protected final org.killbill.notificationq.api.NotificationQueueService notificationQueueService
protected final OverdueProperties config
protected final OverdueDispatcher dispatcher
protected org.killbill.notificationq.api.NotificationQueue overdueQueue
public DefaultOverdueNotifierBase(org.killbill.notificationq.api.NotificationQueueService notificationQueueService,
OverdueProperties config,
InternalCallContextFactory internalCallContextFactory,
OverdueDispatcher dispatcher)
public abstract java.lang.String getQueueName()
public abstract void handleReadyNotification(org.killbill.notificationq.api.NotificationEvent notificationKey,
org.joda.time.DateTime eventDate,
java.util.UUID userToken,
java.lang.Long accountRecordId,
java.lang.Long tenantRecordId)
handleReadyNotification in interface OverdueNotifierpublic void initialize()
initialize in interface OverdueNotifierpublic void start()
start in interface OverdueNotifierpublic void stop()
stop in interface OverdueNotifierprotected InternalCallContext createCallContext(java.util.UUID userToken, java.lang.Long accountRecordId, java.lang.Long tenantRecordId)
Copyright © 2010-2020. All Rights Reserved.