AbstractPlugin can be found in org.jtrix.project.beatrix.plugins.util.
The AbstractPlugin class is a simple implementation of IPlugin, and the code above could have extended this class and hence have its init() and shutdown() methods ready-made.
AbstractPlugin also supplies some other methods, notably pluginManager() which gives direct reference to its plugin manager. Note, however, that pluginManager() only gives the right return value after the AbstractPlugin.init() method has been called. So if we want to override the AbstractPlugin.init() method we usually begin like this:
    public boolean init(IPluginManager plugin_manager, Object data)
    {
        if (!super.init(plugin_manager, data))
        {
            return false;
        }
        // Now we can call pluginManager() throughout this class.
        // Rest of our init code goes here...
    }
Nik Silver 2002-03-09