// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.bootstrap;

import com.google.inject.Inject;
import com.yahoo.concurrent.classlock.ClassLocking;
import com.yahoo.container.di.componentgraph.Provider;
import com.yahoo.vespa.hosted.dockerapi.Docker;
import com.yahoo.vespa.hosted.dockerapi.metrics.MetricReceiverWrapper;

public class NodeAdminComponent implements Provider<NodeAdminMain> {
    private final NodeAdminMain nodeAdminMain;

    @Inject
    NodeAdminComponent(Docker docker,
                       MetricReceiverWrapper metricReceiver,
                       ClassLocking classLocking) {
        this.nodeAdminMain = new NodeAdminMain(docker, metricReceiver, classLocking);
    }

    @Override
    public NodeAdminMain get() {
        return nodeAdminMain;
    }

    @Override
    public void deconstruct() {
        nodeAdminMain.close();
    }
}

@@ -559,16 +559,23 @@
 ect%0A    
+public 
 NodeAdmi
@@ -596,24 +596,31 @@
 ker docker,%0A
+       
             
@@ -664,24 +664,31 @@
 icReceiver,%0A
+       
             

Make NodeAdminComponent constructor public