use of org.killbill.billing.util.glue.EventModule in project killbill by killbill.
the class TestDefaultSubscriptionModule method configure.
@Override
protected void configure() {
super.configure();
install(new CatalogModule(configSource));
install(new CallContextModule(configSource));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new EventModule(configSource));
install(new MockTenantModule(configSource));
bind(TestSubscriptionHelper.class).asEagerSingleton();
bind(TestApiListener.class).asEagerSingleton();
bind(SubscriptionTestInitializer.class).to(DefaultSubscriptionTestInitializer.class).asEagerSingleton();
}
use of org.killbill.billing.util.glue.EventModule in project killbill by killbill.
the class TestTenantModule method configure.
@Override
protected void configure() {
super.configure();
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new EventModule(configSource));
install(new CallContextModule(configSource));
}
use of org.killbill.billing.util.glue.EventModule in project killbill by killbill.
the class TestJunctionModule method configure.
@Override
protected void configure() {
super.configure();
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new EventModule(configSource));
install(new CallContextModule(configSource));
install(new MockTenantModule(configSource));
// Needed because Entitlement depends on Security
install(new KillBillShiroModuleOnlyIniRealm(configSource));
install(new SecurityModule(configSource));
}
use of org.killbill.billing.util.glue.EventModule in project killbill by killbill.
the class KillbillServerModule method installKillbillModules.
protected void installKillbillModules() {
install(new AuditModule(configSource));
install(new NodesModule(configSource));
install(new BroadcastModule(configSource));
install(new BeatrixModule(configSource));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new EventModule(configSource));
install(new CallContextModule(configSource));
install(new CatalogModule(configSource));
install(new CurrencyModule(configSource));
install(new CustomFieldModule(configSource));
install(new DefaultAccountModule(configSource));
install(new DefaultEntitlementModule(configSource));
install(new DefaultInvoiceModule(configSource));
install(new DefaultJunctionModule(configSource));
install(new DefaultOverdueModule(configSource));
install(new DefaultSubscriptionModule(configSource));
install(new ExportModule(configSource));
install(new GlobalLockerModule(configSource));
install(new KillBillShiroAopModule(configSource));
final ConfigurationObjectFactory factory = new ConfigurationObjectFactory(skifeConfigSource);
final JaxrsConfig jaxrsConfig = factory.build(JaxrsConfig.class);
install(new KillbillApiAopModule(jaxrsConfig));
install(new JaxRSAopModule(jaxrsConfig));
install(new KillBillShiroWebModule(servletContext, skifeConfigSource));
install(new NonEntityDaoModule(configSource));
install(new PaymentModule(configSource));
install(new RecordIdModule(configSource));
install(new SecurityModule(configSource));
install(new TagStoreModule(configSource));
install(new TemplateModule(configSource));
install(new DefaultTenantModule(configSource));
install(new UsageModule(configSource));
install(new DefaultJaxrsModule(configSource));
}
Aggregations