From 2a39a0f17d82ecf7c75840d53960c42c6ea2c6ac Mon Sep 17 00:00:00 2001 From: Jan Srnicek Date: Fri, 11 Aug 2017 14:05:30 +0200 Subject: HONEYCOMB-381 - Usage of ShutdownHandler for jvpp components and notification producer Change-Id: I70e749de5b290c84e86a28625d5ec79c98de80f2 Signed-off-by: Jan Srnicek --- .../java/io/fd/hc2vpp/docs/core/mock/binding/MockBindingModule.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vpp-integration') diff --git a/vpp-integration/api-docs/scripts/src/main/java/io/fd/hc2vpp/docs/core/mock/binding/MockBindingModule.java b/vpp-integration/api-docs/scripts/src/main/java/io/fd/hc2vpp/docs/core/mock/binding/MockBindingModule.java index e6500ea4c..9e49879b7 100644 --- a/vpp-integration/api-docs/scripts/src/main/java/io/fd/hc2vpp/docs/core/mock/binding/MockBindingModule.java +++ b/vpp-integration/api-docs/scripts/src/main/java/io/fd/hc2vpp/docs/core/mock/binding/MockBindingModule.java @@ -19,6 +19,7 @@ package io.fd.hc2vpp.docs.core.mock.binding; import static com.google.inject.name.Names.named; import com.google.inject.AbstractModule; +import io.fd.honeycomb.data.init.ShutdownHandler; import io.fd.honeycomb.translate.MappingContext; import io.fd.vpp.jvpp.JVppRegistry; import io.fd.vpp.jvpp.core.future.FutureJVppCore; @@ -40,6 +41,7 @@ public class MockBindingModule extends AbstractModule { .toInstance(noOpProxy(MappingContext.class)); bind(DataBroker.class).annotatedWith(named("honeycomb-context")).toInstance(noOpProxy(DataBroker.class)); bind(JVppRegistry.class).toInstance(noOpProxy(JVppRegistry.class)); + bind(ShutdownHandler.class).toInstance(noOpProxy(ShutdownHandler.class)); } static T noOpProxy(Class clazz) { -- cgit 1.2.3-korg