public class DefaultSubscriptionBaseService extends Object implements EventListener, SubscriptionBaseService
KillbillService.ServiceException| Modifier and Type | Field and Description |
|---|---|
static String |
NOTIFICATION_QUEUE_NAME |
static String |
SUBSCRIPTION_SERVICE_NAME |
| Constructor and Description |
|---|
DefaultSubscriptionBaseService(com.ning.billing.clock.Clock clock,
SubscriptionDao dao,
PlanAligner planAligner,
AddonUtils addonUtils,
com.ning.billing.bus.api.PersistentBus eventBus,
com.ning.billing.notificationq.api.NotificationQueueService notificationQueueService,
InternalCallContextFactory internalCallContextFactory,
SubscriptionBaseApiService apiService) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
void |
initialize() |
void |
processEventReady(SubscriptionBaseEvent event,
int seqId,
InternalCallContext context) |
void |
start() |
void |
stop() |
public static final String NOTIFICATION_QUEUE_NAME
public static final String SUBSCRIPTION_SERVICE_NAME
@Inject
public DefaultSubscriptionBaseService(com.ning.billing.clock.Clock clock,
SubscriptionDao dao,
PlanAligner planAligner,
AddonUtils addonUtils,
com.ning.billing.bus.api.PersistentBus eventBus,
com.ning.billing.notificationq.api.NotificationQueueService notificationQueueService,
InternalCallContextFactory internalCallContextFactory,
SubscriptionBaseApiService apiService)
public String getName()
getName in interface KillbillServicepublic void initialize()
public void start()
public void stop()
throws com.ning.billing.notificationq.api.NotificationQueueService.NoSuchNotificationQueue
com.ning.billing.notificationq.api.NotificationQueueService.NoSuchNotificationQueuepublic void processEventReady(SubscriptionBaseEvent event, int seqId, InternalCallContext context)
processEventReady in interface EventListenerCopyright © 2010-2013. All Rights Reserved.