Search in sources :

Example 1 with CacheControllerDispatcher

use of org.killbill.billing.util.cache.CacheControllerDispatcher in project killbill by killbill.

the class TestServerModuleNoDB method configure.

@Override
public void configure() {
    install(new GuicyKillbillTestNoDBModule(configSource));
    install(new MockNonEntityDaoModule(configSource));
    install(new MockAccountModule(configSource));
    bind(CacheControllerDispatcher.class).toProvider(Providers.<CacheControllerDispatcher>of(null));
}
Also used : CacheControllerDispatcher(org.killbill.billing.util.cache.CacheControllerDispatcher) GuicyKillbillTestNoDBModule(org.killbill.billing.GuicyKillbillTestNoDBModule) MockNonEntityDaoModule(org.killbill.billing.mock.glue.MockNonEntityDaoModule) MockAccountModule(org.killbill.billing.mock.glue.MockAccountModule)

Example 2 with CacheControllerDispatcher

use of org.killbill.billing.util.cache.CacheControllerDispatcher in project killbill by killbill.

the class BeatrixIntegrationModuleNoDB method configure.

@Override
protected void configure() {
    install(new GuicyKillbillTestNoDBModule(configSource));
    install(new MockNonEntityDaoModule(configSource));
    install(new MockAccountModule(configSource));
    bind(CacheControllerDispatcher.class).toProvider(Providers.<CacheControllerDispatcher>of(null));
}
Also used : CacheControllerDispatcher(org.killbill.billing.util.cache.CacheControllerDispatcher) GuicyKillbillTestNoDBModule(org.killbill.billing.GuicyKillbillTestNoDBModule) MockNonEntityDaoModule(org.killbill.billing.mock.glue.MockNonEntityDaoModule) MockAccountModule(org.killbill.billing.mock.glue.MockAccountModule)

Aggregations

GuicyKillbillTestNoDBModule (org.killbill.billing.GuicyKillbillTestNoDBModule)2 MockAccountModule (org.killbill.billing.mock.glue.MockAccountModule)2 MockNonEntityDaoModule (org.killbill.billing.mock.glue.MockNonEntityDaoModule)2 CacheControllerDispatcher (org.killbill.billing.util.cache.CacheControllerDispatcher)2