@Override public void initialize(Bootstrap<Configuration> bootstrap) { bootstrap.setName("pizza-application"); }
@Override public void initialize(Bootstrap<HVDFConfiguration> configBootstrap) { configBootstrap.setName("hvdf"); configBootstrap.addCommand( new ServerMonitoringSimulatorLoad() ); }
@Override public void initialize(Bootstrap<Reader30Configuration> bootstrap) { bootstrap.setName("reader30"); bootstrap.addBundle(new ViewBundle()); bootstrap.addBundle(new AssetsBundle()); }
@Override public void initialize(Bootstrap<LeaderBoardServerConfiguration> bootstrap) { bootstrap.setName("Leaderboard-Server"); bootstrap.addBundle(new ViewBundle()); bootstrap.addBundle(new AssetsBundle("/assets/", "/")); }
@Override public void initialize(Bootstrap<SocialiteConfiguration> configBootstrap) { configBootstrap.setName("status-feed"); configBootstrap.addCommand( new LoadCommand() ); configBootstrap.addCommand( new OutputGraphCommand() ); configBootstrap.addCommand( new BenchmarkCommand() ); configBootstrap.addCommand( new TimelineRampFollowers() ); configBootstrap.addCommand( new SendRampFollowers() ); }
@Override @SuppressWarnings("unchecked") public void initialize(Bootstrap<MultiBitExchangeApiConfiguration> bootstrap) { bootstrap.setName("multibit-exchange"); // Configure Guice ConfiguredBundle guiceBundle = GuiceBundle .newBuilder() .addModule(new MultiBitExchangeApiServiceModule(loadConfigurationFromFile(args))) // The main Guice module with bindings .enableAutoConfig("org.multibit.exchange.infrastructure.adaptor.web.restapi") // Scan application classes .build(); bootstrap.addBundle(guiceBundle); // Add asset bundles bootstrap.addBundle(new AssetsBundle("/assets/app", "/app", "index.html")); bootstrap.addBundle(new AssetsBundle("/assets/css", "/css")); bootstrap.addBundle(new AssetsBundle("/assets/jquery", "/jquery")); bootstrap.addBundle(new AssetsBundle("/assets/js", "/js")); bootstrap.addBundle(new AssetsBundle("/assets/images", "/images")); // Add view bundle //bootstrap.addBundle(new ViewBundle()); }