org.hudsonci.inject.internal.plugin
Class SmoothiePluginStrategy
java.lang.Object
org.hudsonci.inject.internal.plugin.SmoothiePluginStrategy
- All Implemented Interfaces:
- ExtensionPoint, PluginStrategy
@Named(value="default")
@Singleton
public class SmoothiePluginStrategy
- extends Object
- implements PluginStrategy
Smoothie PluginStrategy.
- Since:
- 1.397
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmoothiePluginStrategy
@Inject
public SmoothiePluginStrategy(SmoothieContainer container,
PluginWrapperFactory pluginFactory,
@Named(value="default")
ExtensionLocator extensionLocator,
List<ExtensionFinder> extensionFinders)
createPluginWrapper
public PluginWrapper createPluginWrapper(File archive)
throws IOException
- Load the plugins wrapper and inject it with the
SmoothieContainer.
- Specified by:
createPluginWrapper in interface PluginStrategy
- Throws:
IOException
load
public void load(PluginWrapper plugin)
throws IOException
- Loads the optional
Plugin instance, configures and starts it.
- Specified by:
load in interface PluginStrategy
- Throws:
IOException
initializeComponents
public void initializeComponents(PluginWrapper plugin)
- This method of the PluginStrategy interface is completely unused.
- 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.