public void runWithBundles(T configuration, Environment environment) throws Exception { for (Bundle bundle : bundles) { bundle.run(environment); } for (ConfiguredBundle<? super T> bundle : configuredBundles) { bundle.run(configuration, environment); } }
public void addBundle(Bundle bundle) { bundle.initialize(this); bundles.add(bundle); }