Search in sources :

Example 1 with MemoryGlobalLockerModule

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

the class TestInvoiceModule method configure.

@Override
protected void configure() {
    super.configure();
    install(new CallContextModule(configSource));
    install(new MemoryGlobalLockerModule(configSource));
    install(new CatalogModule(configSource));
    install(new CacheModule(configSource));
    install(new ConfigModule(configSource));
    install(new TemplateModule(configSource));
    install(new EmailModule(configSource));
    install(new MockTenantModule(configSource));
    install(new CustomFieldModule(configSource));
    install(new UsageModule(configSource));
    installExternalApis();
    bind(TestInvoiceHelper.class).asEagerSingleton();
}
Also used : MemoryGlobalLockerModule(org.killbill.billing.util.glue.MemoryGlobalLockerModule) MockTenantModule(org.killbill.billing.mock.glue.MockTenantModule) TestInvoiceHelper(org.killbill.billing.invoice.TestInvoiceHelper) CallContextModule(org.killbill.billing.util.glue.CallContextModule) ConfigModule(org.killbill.billing.util.glue.ConfigModule) CatalogModule(org.killbill.billing.catalog.glue.CatalogModule) TemplateModule(org.killbill.billing.util.email.templates.TemplateModule) UsageModule(org.killbill.billing.usage.glue.UsageModule) CacheModule(org.killbill.billing.util.glue.CacheModule) EmailModule(org.killbill.billing.util.email.EmailModule) CustomFieldModule(org.killbill.billing.util.glue.CustomFieldModule)

Example 2 with MemoryGlobalLockerModule

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

the class TestPaymentModule method configure.

@Override
protected void configure() {
    super.configure();
    install(new MockInvoiceModule(configSource));
    install(new MockSubscriptionModule(configSource));
    install(new MemoryGlobalLockerModule(configSource));
    install(new MockTenantModule(configSource));
    install(new CacheModule(configSource));
    install(new ConfigModule(configSource));
    install(new CallContextModule(configSource));
    installExternalApis();
    bind(TestPaymentHelper.class).asEagerSingleton();
}
Also used : MemoryGlobalLockerModule(org.killbill.billing.util.glue.MemoryGlobalLockerModule) MockTenantModule(org.killbill.billing.mock.glue.MockTenantModule) MockSubscriptionModule(org.killbill.billing.mock.glue.MockSubscriptionModule) CallContextModule(org.killbill.billing.util.glue.CallContextModule) ConfigModule(org.killbill.billing.util.glue.ConfigModule) TestPaymentHelper(org.killbill.billing.payment.TestPaymentHelper) MockInvoiceModule(org.killbill.billing.mock.glue.MockInvoiceModule) CacheModule(org.killbill.billing.util.glue.CacheModule)

Example 3 with MemoryGlobalLockerModule

use of org.killbill.billing.util.glue.MemoryGlobalLockerModule 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)

Aggregations

MockTenantModule (org.killbill.billing.mock.glue.MockTenantModule)3 CacheModule (org.killbill.billing.util.glue.CacheModule)3 CallContextModule (org.killbill.billing.util.glue.CallContextModule)3 ConfigModule (org.killbill.billing.util.glue.ConfigModule)3 MemoryGlobalLockerModule (org.killbill.billing.util.glue.MemoryGlobalLockerModule)3 MockInvoiceModule (org.killbill.billing.mock.glue.MockInvoiceModule)2 EmailModule (org.killbill.billing.util.email.EmailModule)2 TemplateModule (org.killbill.billing.util.email.templates.TemplateModule)2 CustomFieldModule (org.killbill.billing.util.glue.CustomFieldModule)2 CatalogModule (org.killbill.billing.catalog.glue.CatalogModule)1 TestInvoiceHelper (org.killbill.billing.invoice.TestInvoiceHelper)1 MockAccountModule (org.killbill.billing.mock.glue.MockAccountModule)1 MockEntitlementModule (org.killbill.billing.mock.glue.MockEntitlementModule)1 MockSubscriptionModule (org.killbill.billing.mock.glue.MockSubscriptionModule)1 MockTagModule (org.killbill.billing.mock.glue.MockTagModule)1 TestOverdueHelper (org.killbill.billing.overdue.TestOverdueHelper)1 OverdueBusListenerTester (org.killbill.billing.overdue.applicator.OverdueBusListenerTester)1 TestPaymentHelper (org.killbill.billing.payment.TestPaymentHelper)1 UsageModule (org.killbill.billing.usage.glue.UsageModule)1 AuditModule (org.killbill.billing.util.glue.AuditModule)1