summaryrefslogtreecommitdiffstats
path: root/infra/minimal-distribution-core/src/main
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-08-24 14:58:28 +0200
committerMarek Gradzki <mgradzki@cisco.com>2017-08-25 07:46:31 +0000
commit6506878ae7ad2b9ade390127ece11f7a1a3b67dd (patch)
treee1d19535248a4d575bb809bfbbd79e23d08bd614 /infra/minimal-distribution-core/src/main
parent5f021b6d594ca0c4cf97621f5c893297e65f1879 (diff)
HC2VPP-218 - Context initialization binding
Binds correct DOMDataBroker for context Change-Id: Id09e77d6223a9c322e98879ccb5824539b5d2ce6 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'infra/minimal-distribution-core/src/main')
-rw-r--r--infra/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/PersistedContextInitializerProvider.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/infra/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/PersistedContextInitializerProvider.java b/infra/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/PersistedContextInitializerProvider.java
index b21d7b92d..6d256d822 100644
--- a/infra/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/PersistedContextInitializerProvider.java
+++ b/infra/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/data/context/PersistedContextInitializerProvider.java
@@ -16,10 +16,7 @@
package io.fd.honeycomb.infra.distro.data.context;
-import static io.fd.honeycomb.infra.distro.data.ConfigAndOperationalPipelineModule.HONEYCOMB_CONFIG;
-
import com.google.inject.Inject;
-import com.google.inject.name.Named;
import io.fd.honeycomb.binding.init.ProviderTrait;
import io.fd.honeycomb.data.init.RestoringInitializer;
import io.fd.honeycomb.infra.distro.cfgattrs.HoneycombConfiguration;
@@ -34,8 +31,8 @@ final class PersistedContextInitializerProvider extends ProviderTrait<RestoringI
private SchemaService schemaService;
@Inject
protected HoneycombConfiguration cfgAttributes;
+ // injects data broker from within context of private module
@Inject
- @Named(HONEYCOMB_CONFIG)
private DOMDataBroker domDataBroker;
@Override