FileDocCategorySizeDatePackage
FailedPlugin.javaAPI DocAzureus 3.0.3.42152Thu Feb 09 19:42:46 GMT 2006org.gudy.azureus2.pluginsimpl.local

FailedPlugin

public class FailedPlugin extends Object implements org.gudy.azureus2.plugins.UnloadablePlugin

Fields Summary
protected String
plugin_name
protected String
plugin_dir
protected PluginInterfaceImpl
plugin_interface
Constructors Summary
public FailedPlugin()

		plugin_name = null;
		plugin_dir = null;
	
public FailedPlugin(String _name, String _target_dir)

		plugin_name = _name;
		plugin_dir = _target_dir;
	
Methods Summary
public voidinitialize(org.gudy.azureus2.plugins.PluginInterface pi)

		plugin_interface = (PluginInterfaceImpl) pi;

		plugin_interface.setPluginVersion("0.0");

		if (plugin_name == null)
			plugin_interface.setPluginName(plugin_interface.getPluginID());
		else
			plugin_interface.setPluginName(plugin_name);

		if (plugin_dir != null)
			plugin_interface.setPluginDirectoryName(plugin_dir);
	
public voidrequestUnload()
For installer

		try {
			plugin_interface.unload();

		} catch (Throwable e) {

			Debug.printStackTrace(e);
		}
	
public voidunload()