Add svn:eol-style and svn:keywords properties.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13655 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
mindless committed 2008-12-16 20:08:35 +00:00
1 parent 63eec22c2d
commit 4f987c2dda
41 files changed
+2956 -2956

No files matched your search

+43 -43
View File
@@ -1,44 +1,44 @@
package hudson;
import java.io.File;
import java.io.IOException;
/**
* Pluggability point for how to create {@link PluginWrapper}.
*
* <p>
* 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
* @param archive
* @return
* @throws IOException
*/
public abstract PluginWrapper createPluginWrapper(File archive)
throws IOException;
/**
* Loads the plugin and starts it.
*
* <p>
* This should be done after all the classloaders are constructed for all
* the plugins, so that dependencies can be properly loaded by plugins.
*/
public abstract void load(PluginWrapper wrapper) throws IOException;
/**
* Optionally start services provided by the plugin. Should be called
* when all plugins are loaded.
*
* @param plugin
*/
public abstract void initializeComponents(PluginWrapper plugin);
package hudson;
import java.io.File;
import java.io.IOException;
/**
* Pluggability point for how to create {@link PluginWrapper}.
*
* <p>
* 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
* @param archive
* @return
* @throws IOException
*/
public abstract PluginWrapper createPluginWrapper(File archive)
throws IOException;
/**
* Loads the plugin and starts it.
*
* <p>
* This should be done after all the classloaders are constructed for all
* the plugins, so that dependencies can be properly loaded by plugins.
*/
public abstract void load(PluginWrapper wrapper) throws IOException;
/**
* Optionally start services provided by the plugin. Should be called
* when all plugins are loaded.
*
* @param plugin
*/
public abstract void initializeComponents(PluginWrapper plugin);
}