/*******************************************************************************
 * Copyright (c) 2012-2015 Codenvy, S.A.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Codenvy, S.A. - initial API and implementation
 *******************************************************************************/
package org.eclipse.che.plugin.docker.machine.local;

import org.eclipse.che.plugin.docker.machine.DockerInstanceProvider;
import org.eclipse.che.plugin.docker.machine.DockerNodeFactory;
import com.google.inject.AbstractModule;
import com.google.inject.multibindings.Multibinder;
import org.eclipse.che.api.machine.server.MachineService;
import org.eclipse.che.api.machine.server.SnapshotStorage;
import org.eclipse.che.api.machine.server.spi.InstanceProvider;

/**
 * The Module for Local Docker components
 * Note that LocalDockerNodeFactory requires machine.docker.local.project parameter pointed to
 * directory containing workspace projects tree
 *
 * @author gazarenkov
 */
public class LocalDockerModule extends AbstractModule {

    @Override
    protected void configure() {
        bind(SnapshotStorage.class).to(DummySnapshotStorage.class);
        bind(DockerNodeFactory.class).to(LocalDockerNodeFactory.class);
        bind(MachineService.class);
        Multibinder.newSetBinder(binder(), InstanceProvider.class).addBinding().to(DockerInstanceProvider.class);

    }
}

@@ -791,24 +791,62 @@
 ultibinder;%0A
+import com.google.inject.name.Names;%0A%0A
 import org.e
@@ -1628,16 +1628,350 @@
 lass);%0A%0A
+        Multibinder%3CString%3E exposedPortsMultibinder =%0A                Multibinder.newSetBinder(binder(), String.class, Names.named(%22machine.docker.system_exposed_ports%22));%0A%0A        Multibinder%3CString%3E volumesMultibinder =%0A                Multibinder.newSetBinder(binder(), String.class, Names.named(%22machine.docker.system_volumes%22));%0A
     %7D%0A%7D%0A

fix launch of SDK