Sometimes it is necessary in RHQ-plugins to load resources when the plugin is loaded and more important to unload those when the plugin is unloaded from the plugin container.
Mazz has recently added the PluginOverseer interface for exactly this purpose. Read more...