use of org.opendaylight.infrautils.caches.baseimpl.CacheManagersRegistry in project infrautils by opendaylight.
the class CacheModule method configure.
@Override
protected void configure() {
bind(CacheProvider.class).to(providerClass);
bind(CacheProvider.class).annotatedWith(OsgiService.class).to(providerClass);
CacheManagersRegistry monitor = new CacheManagersRegistryImpl();
bind(CacheManagersRegistry.class).toInstance(monitor);
bind(CacheManagers.class).toInstance(monitor);
}
Aggregations