Search in sources :

Example 6 with CallContextModule

use of org.killbill.billing.util.glue.CallContextModule in project killbill by killbill.

the class TestOverdueModule method configure.

@Override
protected void configure() {
    super.configure();
    install(new AuditModule(configSource));
    install(new CacheModule(configSource));
    install(new ConfigModule(configSource));
    install(new CallContextModule(configSource));
    install(new CustomFieldModule(configSource));
    install(new EmailModule(configSource));
    install(new MockAccountModule(configSource));
    install(new MockEntitlementModule(configSource, new ApplicatorBlockingApi()));
    install(new MockInvoiceModule(configSource));
    install(new MockTagModule(configSource, true));
    install(new TemplateModule(configSource));
    install(new MockTenantModule(configSource));
    install(new MemoryGlobalLockerModule(configSource));
    bind(OverdueBusListenerTester.class).asEagerSingleton();
    bind(TestOverdueHelper.class).asEagerSingleton();
}
Also used : MemoryGlobalLockerModule(org.killbill.billing.util.glue.MemoryGlobalLockerModule) ConfigModule(org.killbill.billing.util.glue.ConfigModule) TemplateModule(org.killbill.billing.util.email.templates.TemplateModule) CacheModule(org.killbill.billing.util.glue.CacheModule) MockInvoiceModule(org.killbill.billing.mock.glue.MockInvoiceModule) EmailModule(org.killbill.billing.util.email.EmailModule) TestOverdueHelper(org.killbill.billing.overdue.TestOverdueHelper) MockTenantModule(org.killbill.billing.mock.glue.MockTenantModule) OverdueBusListenerTester(org.killbill.billing.overdue.applicator.OverdueBusListenerTester) CallContextModule(org.killbill.billing.util.glue.CallContextModule) MockEntitlementModule(org.killbill.billing.mock.glue.MockEntitlementModule) MockTagModule(org.killbill.billing.mock.glue.MockTagModule) AuditModule(org.killbill.billing.util.glue.AuditModule) CustomFieldModule(org.killbill.billing.util.glue.CustomFieldModule) MockAccountModule(org.killbill.billing.mock.glue.MockAccountModule)

Example 7 with CallContextModule

use of org.killbill.billing.util.glue.CallContextModule 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 CallContextModule(configSource));
    install(new MockTenantModule(configSource));
    // Needed because Entitlement depends on Security
    install(new KillBillShiroModuleOnlyIniRealm(configSource));
    install(new SecurityModule(configSource));
}
Also used : MockTenantModule(org.killbill.billing.mock.glue.MockTenantModule) CallContextModule(org.killbill.billing.util.glue.CallContextModule) ConfigModule(org.killbill.billing.util.glue.ConfigModule) CacheModule(org.killbill.billing.util.glue.CacheModule) SecurityModule(org.killbill.billing.util.glue.SecurityModule)

Example 8 with CallContextModule

use of org.killbill.billing.util.glue.CallContextModule 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 MockTenantModule(configSource));
    bind(TestSubscriptionHelper.class).asEagerSingleton();
    bind(TestApiListener.class).asEagerSingleton();
    bind(SubscriptionTestInitializer.class).to(DefaultSubscriptionTestInitializer.class).asEagerSingleton();
}
Also used : DefaultSubscriptionTestInitializer(org.killbill.billing.subscription.DefaultSubscriptionTestInitializer) MockTenantModule(org.killbill.billing.mock.glue.MockTenantModule) CallContextModule(org.killbill.billing.util.glue.CallContextModule) TestSubscriptionHelper(org.killbill.billing.subscription.api.user.TestSubscriptionHelper) ConfigModule(org.killbill.billing.util.glue.ConfigModule) CatalogModule(org.killbill.billing.catalog.glue.CatalogModule) TestApiListener(org.killbill.billing.api.TestApiListener) CacheModule(org.killbill.billing.util.glue.CacheModule)

Example 9 with CallContextModule

use of org.killbill.billing.util.glue.CallContextModule 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 CallContextModule(configSource));
}
Also used : CallContextModule(org.killbill.billing.util.glue.CallContextModule) ConfigModule(org.killbill.billing.util.glue.ConfigModule) CacheModule(org.killbill.billing.util.glue.CacheModule)

Example 10 with CallContextModule

use of org.killbill.billing.util.glue.CallContextModule 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 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 EmailModule(configSource));
    install(new ExportModule(configSource));
    install(new GlobalLockerModule(configSource));
    install(new KillBillShiroAopModule());
    install(new KillbillApiAopModule());
    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));
}
Also used : NonEntityDaoModule(org.killbill.billing.util.glue.NonEntityDaoModule) DefaultEntitlementModule(org.killbill.billing.entitlement.glue.DefaultEntitlementModule) DefaultJaxrsModule(org.killbill.billing.jaxrs.glue.DefaultJaxrsModule) ConfigModule(org.killbill.billing.util.glue.ConfigModule) TemplateModule(org.killbill.billing.util.email.templates.TemplateModule) CacheModule(org.killbill.billing.util.glue.CacheModule) EmailModule(org.killbill.billing.util.email.EmailModule) ExportModule(org.killbill.billing.util.glue.ExportModule) SecurityModule(org.killbill.billing.util.glue.SecurityModule) PaymentModule(org.killbill.billing.payment.glue.PaymentModule) DefaultOverdueModule(org.killbill.billing.overdue.glue.DefaultOverdueModule) CallContextModule(org.killbill.billing.util.glue.CallContextModule) DefaultInvoiceModule(org.killbill.billing.invoice.glue.DefaultInvoiceModule) DefaultSubscriptionModule(org.killbill.billing.subscription.glue.DefaultSubscriptionModule) TagStoreModule(org.killbill.billing.util.glue.TagStoreModule) KillbillApiAopModule(org.killbill.billing.util.glue.KillbillApiAopModule) CustomFieldModule(org.killbill.billing.util.glue.CustomFieldModule) DefaultAccountModule(org.killbill.billing.account.glue.DefaultAccountModule) BroadcastModule(org.killbill.billing.util.glue.BroadcastModule) CurrencyModule(org.killbill.billing.currency.glue.CurrencyModule) GlobalLockerModule(org.killbill.billing.util.glue.GlobalLockerModule) RecordIdModule(org.killbill.billing.util.glue.RecordIdModule) CatalogModule(org.killbill.billing.catalog.glue.CatalogModule) NodesModule(org.killbill.billing.util.glue.NodesModule) BeatrixModule(org.killbill.billing.beatrix.glue.BeatrixModule) KillBillShiroAopModule(org.killbill.billing.util.glue.KillBillShiroAopModule) DefaultTenantModule(org.killbill.billing.tenant.glue.DefaultTenantModule) UsageModule(org.killbill.billing.usage.glue.UsageModule) AuditModule(org.killbill.billing.util.glue.AuditModule) DefaultJunctionModule(org.killbill.billing.junction.glue.DefaultJunctionModule)

Aggregations

CacheModule (org.killbill.billing.util.glue.CacheModule)11 CallContextModule (org.killbill.billing.util.glue.CallContextModule)11 ConfigModule (org.killbill.billing.util.glue.ConfigModule)11 MockTenantModule (org.killbill.billing.mock.glue.MockTenantModule)7 CustomFieldModule (org.killbill.billing.util.glue.CustomFieldModule)6 CatalogModule (org.killbill.billing.catalog.glue.CatalogModule)5 EmailModule (org.killbill.billing.util.email.EmailModule)5 TemplateModule (org.killbill.billing.util.email.templates.TemplateModule)5 AuditModule (org.killbill.billing.util.glue.AuditModule)5 SecurityModule (org.killbill.billing.util.glue.SecurityModule)5 UsageModule (org.killbill.billing.usage.glue.UsageModule)4 TagStoreModule (org.killbill.billing.util.glue.TagStoreModule)4 DefaultAccountModule (org.killbill.billing.account.glue.DefaultAccountModule)3 BeatrixModule (org.killbill.billing.beatrix.glue.BeatrixModule)3 CurrencyModule (org.killbill.billing.currency.glue.CurrencyModule)3 DefaultEntitlementModule (org.killbill.billing.entitlement.glue.DefaultEntitlementModule)3 DefaultJunctionModule (org.killbill.billing.junction.glue.DefaultJunctionModule)3 DefaultSubscriptionModule (org.killbill.billing.subscription.glue.DefaultSubscriptionModule)3 DefaultTenantModule (org.killbill.billing.tenant.glue.DefaultTenantModule)3 BroadcastModule (org.killbill.billing.util.glue.BroadcastModule)3