diff --git a/core/src/main/java/hudson/PluginStrategy.java b/core/src/main/java/hudson/PluginStrategy.java index 0aa39dd635..409f680c5f 100644 --- a/core/src/main/java/hudson/PluginStrategy.java +++ b/core/src/main/java/hudson/PluginStrategy.java @@ -3,7 +3,17 @@ package hudson; import java.io.File; import java.io.IOException; -public interface PluginStrategy { +/** + * Pluggability point for how to create {@link PluginWrapper}. + * + *
+ * This extension point was added to allow plugins to be loaded into a different environment + * (such as loading it in an existing DI container like Plexus.) A plugin strategy is a singleton + * instance, and as such this feature is primarily meant for OEM. + * + * See {@link PluginManager#createPluginStrategy()} for how this instance is created. + */ +public interface PluginStrategy extends ExtensionPoint { /** * Creates a plugin wrapper, which provides a management interface for the plugin