Class CacheModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.opendaylight.infrautils.caches.testutils.CacheModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class CacheModule extends com.google.inject.AbstractModule
Guice Module for tests requiring a CacheProvider.- Author:
- Michael Vorburger.ch
-
-
Constructor Summary
Constructors Constructor Description CacheModule()
CacheModule(Class<? extends CacheProvider> providerClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Constructor Detail
-
CacheModule
public CacheModule()
-
CacheModule
public CacheModule(Class<? extends CacheProvider> providerClass)
-
-