@@ -0,0 +1,785 @@
+package de.jeha.kame.crawler.scheduler.quartz;%0A%0Aimport com.codahale.metrics.SharedMetricRegistries;%0Aimport de.jeha.kame.crawler.scheduler.config.CrawlerSchedulerConfiguration;%0Aimport io.dropwizard.ConfiguredBundle;%0Aimport io.dropwizard.setup.Bootstrap;%0Aimport io.dropwizard.setup.Environment;%0A%0A/**%0A * @author jenshadlich@googlemail.com%0A */%0Apublic class SchedulerBundle implements ConfiguredBundle%3CCrawlerSchedulerConfiguration%3E %7B%0A%0A    @Override%0A    public void initialize(Bootstrap%3C?%3E bootstrap) %7B%0A        SharedMetricRegistries.add(%22scheduler%22, bootstrap.getMetricRegistry());%0A    %7D%0A%0A    @Override%0A    public void run(CrawlerSchedulerConfiguration configuration, Environment environment) throws Exception %7B%0A        environment.lifecycle().manage(new ManagedScheduler());%0A    %7D%0A    %0A%7D%0A

add bundle for managed scheduler