diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-03-07 15:03:35 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-03-07 15:06:37 +0100 |
commit | a8b9c1ad9df23ff33beea1ba80caadcca19391c5 (patch) | |
tree | af26760d955183208830fbf440d96465e7d97d86 /infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java | |
parent | 9659d28f1083f8ce9c67db3fb708f5b96740fba4 (diff) |
Fix Restconf server shutdown
Change-Id: Ia7c0fc2d269ae88170297ef22476c8a61121238a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java')
-rw-r--r-- | infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java b/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java index 9f9ecf7a2..1a59b7298 100644 --- a/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java +++ b/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/RestconfModule.java @@ -19,7 +19,7 @@ package io.fd.honeycomb.northbound.restconf; import com.google.inject.Singleton; import com.google.inject.name.Names; import io.fd.honeycomb.northbound.NorthboundAbstractModule; -import io.fd.honeycomb.northbound.restconf.JettyServerStarter.ServerInit; +import io.fd.honeycomb.northbound.restconf.JettyServerStarter.RestconfJettyServer; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; import org.opendaylight.netconf.sal.rest.api.RestConnector; @@ -54,6 +54,6 @@ public class RestconfModule extends NorthboundAbstractModule<RestconfConfigurati .toProvider(HttpsConnectorProvider.class) .in(Singleton.class); bind(RestConnector.class).toProvider(RestconfProvider.class).in(Singleton.class); - bind(ServerInit.class).toProvider(JettyServerStarter.class).asEagerSingleton(); + bind(RestconfJettyServer.class).toProvider(JettyServerStarter.class).asEagerSingleton(); } } |