use of org.killbill.billing.util.config.definition.NotificationConfig in project killbill by killbill.
the class KillbillServerModule method configurePushNotification.
protected void configurePushNotification() {
final ConfigurationObjectFactory factory = new ConfigurationObjectFactory(skifeConfigSource);
final NotificationConfig notificationConfig = factory.build(NotificationConfig.class);
bind(NotificationConfig.class).annotatedWith(Names.named(STATIC_CONFIG)).toInstance(notificationConfig);
bind(NotificationConfig.class).to(MultiTenantNotificationConfig.class).asEagerSingleton();
bind(PushNotificationListener.class).asEagerSingleton();
bind(PushNotificationRetryService.class).asEagerSingleton();
bind(ServerService.class).to(DefaultServerService.class).asEagerSingleton();
}
Aggregations