org.hudsonci.inject.internal.plugin
Class DelegatingPluginStrategy
java.lang.Object
org.hudsonci.inject.internal.plugin.DelegatingPluginStrategy
- All Implemented Interfaces:
- ExtensionPoint, PluginStrategy
public class DelegatingPluginStrategy
- extends Object
- implements PluginStrategy
Delegates to PluginStrategy implementation bound in Guice context.
- Since:
- 1.397
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingPluginStrategy
public DelegatingPluginStrategy(PluginManager plugins)
getDelegate
public PluginStrategy getDelegate()
createPluginWrapper
public PluginWrapper createPluginWrapper(File archive)
throws IOException
- Specified by:
createPluginWrapper in interface PluginStrategy
- Throws:
IOException
load
public void load(PluginWrapper plugin)
throws IOException
- Specified by:
load in interface PluginStrategy
- Throws:
IOException
initializeComponents
public void initializeComponents(PluginWrapper plugin)
- Specified by:
initializeComponents in interface PluginStrategy
findComponents
public <T> List<ExtensionComponent<T>> findComponents(Class<T> type,
Hudson hudson)
- Specified by:
findComponents in interface PluginStrategy
Copyright © 2004-2011 Hudson. All Rights Reserved.