Search in sources :

Example 1 with UsageModule

use of org.killbill.billing.usage.glue.UsageModule in project killbill by killbill.

the class KillpayServerModule method installKillbillModules.

@Override
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 CurrencyModule(configSource));
    install(new CustomFieldModule(configSource));
    install(new DefaultAccountModule(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 DefaultTenantModule(configSource));
    // TODO Required by payment for InvoiceInternalApi and InvoicePaymentApi
    install(new DefaultInvoiceModule(configSource));
    // TODO Dependencies for DefaultInvoiceModule
    install(new CatalogModule(configSource));
    install(new DefaultEntitlementModule(configSource));
    install(new DefaultJunctionModule(configSource));
    install(new DefaultSubscriptionModule(configSource));
    install(new TemplateModule(configSource));
    install(new UsageModule(configSource));
    install(new DefaultJaxrsModule(configSource));
    // TODO Dependencies for AccountResource
    install(new DefaultOverdueModule(configSource));
    install(new EmailModule(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) ExportModule(org.killbill.billing.util.glue.ExportModule) EmailModule(org.killbill.billing.util.email.EmailModule) 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)

Example 2 with UsageModule

use of org.killbill.billing.usage.glue.UsageModule 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 3 with UsageModule

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

Example 4 with UsageModule

use of org.killbill.billing.usage.glue.UsageModule in project killbill by killbill.

the class BeatrixIntegrationModule method configure.

@Override
protected void configure() {
    install(new GuicyKillbillTestWithEmbeddedDBModule(true, configSource));
    install(new GlobalLockerModule(configSource));
    install(new CacheModule(configSource));
    install(new ConfigModule(configSource));
    install(new EmailModule(configSource));
    install(new CallContextModule(configSource));
    install(new TagStoreModule(configSource));
    install(new CustomFieldModule(configSource));
    install(new DefaultAccountModule(configSource));
    install(new CatalogModule(configSource));
    install(new DefaultSubscriptionModule(configSource));
    install(new DefaultEntitlementModule(configSource));
    install(new DefaultInvoiceModuleWithSwitchRepairLogic(configSource));
    install(new TemplateModule(configSource));
    install(new PaymentPluginMockModule(configSource));
    install(new DefaultJunctionModule(configSource));
    install(new IntegrationTestOverdueModule(configSource));
    install(new AuditModule(configSource));
    install(new CurrencyModule(configSource));
    install(new DefaultTenantModule(configSource));
    install(new ExportModule(configSource));
    install(new NonEntityDaoModule(configSource));
    install(new RecordIdModule(configSource));
    install(new UsageModule(configSource));
    install(new SecurityModule(configSource));
    install(new NodesModule(configSource));
    install(new BroadcastModule(configSource));
    install(new KillBillShiroModuleOnlyIniRealm(configSource));
    install(new BeatrixModule(configSource));
    bind(AccountChecker.class).asEagerSingleton();
    bind(SubscriptionChecker.class).asEagerSingleton();
    bind(InvoiceChecker.class).asEagerSingleton();
    bind(PaymentChecker.class).asEagerSingleton();
    bind(RefundChecker.class).asEagerSingleton();
    bind(AuditChecker.class).asEagerSingleton();
    bind(TestApiListener.class).asEagerSingleton();
}
Also used : NonEntityDaoModule(org.killbill.billing.util.glue.NonEntityDaoModule) DefaultEntitlementModule(org.killbill.billing.entitlement.glue.DefaultEntitlementModule) PaymentChecker(org.killbill.billing.beatrix.util.PaymentChecker) ConfigModule(org.killbill.billing.util.glue.ConfigModule) TemplateModule(org.killbill.billing.util.email.templates.TemplateModule) SubscriptionChecker(org.killbill.billing.beatrix.util.SubscriptionChecker) GuicyKillbillTestWithEmbeddedDBModule(org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule) 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) InvoiceChecker(org.killbill.billing.beatrix.util.InvoiceChecker) CallContextModule(org.killbill.billing.util.glue.CallContextModule) DefaultSubscriptionModule(org.killbill.billing.subscription.glue.DefaultSubscriptionModule) AuditChecker(org.killbill.billing.beatrix.util.AuditChecker) TagStoreModule(org.killbill.billing.util.glue.TagStoreModule) CustomFieldModule(org.killbill.billing.util.glue.CustomFieldModule) DefaultAccountModule(org.killbill.billing.account.glue.DefaultAccountModule) CurrencyModule(org.killbill.billing.currency.glue.CurrencyModule) BroadcastModule(org.killbill.billing.util.glue.BroadcastModule) 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) TestApiListener(org.killbill.billing.api.TestApiListener) RefundChecker(org.killbill.billing.beatrix.util.RefundChecker) DefaultTenantModule(org.killbill.billing.tenant.glue.DefaultTenantModule) UsageModule(org.killbill.billing.usage.glue.UsageModule) IntegrationTestOverdueModule(org.killbill.billing.beatrix.integration.overdue.IntegrationTestOverdueModule) AccountChecker(org.killbill.billing.beatrix.util.AccountChecker) DefaultJunctionModule(org.killbill.billing.junction.glue.DefaultJunctionModule) AuditModule(org.killbill.billing.util.glue.AuditModule)

Aggregations

CatalogModule (org.killbill.billing.catalog.glue.CatalogModule)4 UsageModule (org.killbill.billing.usage.glue.UsageModule)4 EmailModule (org.killbill.billing.util.email.EmailModule)4 TemplateModule (org.killbill.billing.util.email.templates.TemplateModule)4 CacheModule (org.killbill.billing.util.glue.CacheModule)4 CallContextModule (org.killbill.billing.util.glue.CallContextModule)4 ConfigModule (org.killbill.billing.util.glue.ConfigModule)4 CustomFieldModule (org.killbill.billing.util.glue.CustomFieldModule)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 AuditModule (org.killbill.billing.util.glue.AuditModule)3 BroadcastModule (org.killbill.billing.util.glue.BroadcastModule)3 ExportModule (org.killbill.billing.util.glue.ExportModule)3 GlobalLockerModule (org.killbill.billing.util.glue.GlobalLockerModule)3 NodesModule (org.killbill.billing.util.glue.NodesModule)3