@Override protected void configure() { bind(ProcessesOutputRestorer.class).asEagerSingleton(); bind(MachineFailNotifier.class).asEagerSingleton(); bind(MachineChooserView.class).to(MachineChooserViewImpl.class); bind(ModuleHolder.class).in(Singleton.class); bindConstant() .annotatedWith(Names.named("machine.extension.api_port")) .to(Constants.WS_AGENT_PORT); } }
install(new PersistenceApiModule()); install(new MacroApiModule()); install(new MachineApiModule()); install(new CommandApiModule()); install(new ConsoleGinModule());