This class is used to hold data about a given plugin.
author: Jared Spigner
Constructor Summary
public
Plugin() This is the constructor for the Plugin class.
public
Plugin(String jar, String name) This is the constructor for the Plugin class.
Method Summary
public boolean
configurePlugin(VirtualMachine vm) This method configures the plugin, by searching for a configuration file
and applying the attributes.
Parameters: vm - is a reference to the Virtual Machine.
installPlugin(VirtualMachine vm) This method installs this plugin into the classpath of the OpenJX
application.
Parameters: vm - is a reference to the Virtual Machine.
public void
setPluginControl(boolean state) This method sets the plugin control state.
This is the constructor for the Plugin class. It creates a new
instance of Plugin.
Parameters: jar - is the jar we want to set. Parameters: name - is the name of the plugin.
This method configures the plugin, by searching for a configuration file
and applying the attributes.
Parameters: vm - is a reference to the Virtual Machine. true on success, else false on failure.
This method installs this plugin into the classpath of the OpenJX
application.
Parameters: vm - is a reference to the Virtual Machine. true on success, else false on failure.