intro. new bindAllSingletons()
authorMichael Vorburger <mike@vorburger.ch>
Wed, 31 Oct 2018 17:25:51 +0000 (18:25 +0100)
committerMichael Vorburger <mike@vorburger.ch>
Wed, 1 Jul 2020 23:37:40 +0000 (01:37 +0200)
commitfe1e03905023511df07c151590e863a4997998fd
tree60f6b6bc9156d5444f32063f6070778a9b58c50c
parent5ddcd2bece830a7999bf075330445e217083486b
intro. new bindAllSingletons()

and use it in AlivenessMonitorWiring

This now also wires the HwVtepTunnelsStateHandler, which we forgot! ;)

That (to not forget to manually wire in any @Singleton) is the point.

PS: PacketProcessingListener didn't get wired, just like it should be.
Signed-off-by: Michael Vorburger <mike@vorburger.ch>
src/main/java/org/opendaylight/genius/simple/AlivenessMonitorWiring.java
src/main/java/org/opendaylight/infrautils/inject/ClassPathScanner.java
src/main/java/org/opendaylight/infrautils/inject/guice/GuiceClassPathBinder.java
src/test/java/org/opendaylight/infrautils/inject/tests/ClassPathScannerTest.java