public <T extends Runnable> LifecycleBinder bindStartupTaskTo(final Class<T> runnableClass,
                                                                  final int priority) {
        startupTaskMapBinder.addBinding(new StartupTask(priority))
                .to(runnableClass);
        return this;
    }
Bind the startup task with the supplied priority

@param priority Higher value will start earlier
stroom-lifecycle/stroom-lifecycle-api/src/main/java/stroom/lifecycle/api/LifecycleBinder.java