Class TestableDataTreeChangeListenerModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.opendaylight.genius.datastoreutils.testutils.TestableDataTreeChangeListenerModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class TestableDataTreeChangeListenerModule extends com.google.inject.AbstractModule
Guice wiring module which binds aTestableDataTreeChangeListener
as anAsyncEventsWaiter
, and automatically registers all boundChainableDataTreeChangeListener
to it.- Author:
- Michael Vorburger.ch
-
-
Constructor Summary
Constructors Constructor Description TestableDataTreeChangeListenerModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
protected AsyncEventsWaiter
getAsyncEventsWaiter(com.google.inject.Injector injector)
protected AsyncEventsWaiter
getRealAsyncEventsWaiter(com.google.inject.Injector injector)
protected TestableDataTreeChangeListener
getTestableDataTreeChangeListener(com.google.inject.Injector injector)
-
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
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configure
in classcom.google.inject.AbstractModule
-
getAsyncEventsWaiter
@Provides protected final AsyncEventsWaiter getAsyncEventsWaiter(com.google.inject.Injector injector)
-
getRealAsyncEventsWaiter
protected AsyncEventsWaiter getRealAsyncEventsWaiter(com.google.inject.Injector injector)
-
getTestableDataTreeChangeListener
protected TestableDataTreeChangeListener getTestableDataTreeChangeListener(com.google.inject.Injector injector)
-
-