mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-12 19:42:20 +00:00
Expose Injector to the rest of the world
This commit is contained in:
1 parent
09ef861c98
commit
82ef72c00d
3 files changed
+133
-3
No files matched your search
@@ -282,8 +282,6 @@ public abstract class PluginManager extends AbstractModelObject {
|
||||
Jenkins.getInstance().lookup.set(PluginInstanceStore.class,new PluginInstanceStore());
|
||||
TaskGraphBuilder g = new TaskGraphBuilder();
|
||||
|
||||
Jenkins.getInstance().lookup.set(Injector.class,Guice.createInjector());
|
||||
|
||||
// schedule execution of loading plugins
|
||||
for (final PluginWrapper p : activePlugins.toArray(new PluginWrapper[activePlugins.size()])) {
|
||||
g.followedBy().notFatal().attains(PLUGINS_PREPARED).add("Loading plugin " + p.getShortName(), new Executable() {
|
||||
|
||||
Reference in new issue
Block a user