Package org.java.plugin
Class PluginManager.EventListenerAdapter
- java.lang.Object
-
- org.java.plugin.PluginManager.EventListenerAdapter
-
- All Implemented Interfaces:
PluginManager.EventListener
- Enclosing class:
- PluginManager
public abstract static class PluginManager.EventListenerAdapter extends java.lang.Object implements PluginManager.EventListener
An abstract adapter class for receiving plug-ins life-cycle events. The methods in this class are empty. This class exists as convenience for creating listener objects.- Version:
- $Id: PluginManager.java,v 1.5 2007/04/07 12:42:14 ddimon Exp $
-
-
Constructor Summary
Constructors Constructor Description EventListenerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
pluginActivated(Plugin plugin)
This method will be called by the manager just after plug-in has been successfully activated.void
pluginDeactivated(Plugin plugin)
This method will be called by the manager just before plug-in deactivation.void
pluginDisabled(PluginDescriptor descriptor)
This method will be called by the manager just before plug-in disabling.void
pluginEnabled(PluginDescriptor descriptor)
This method will be called by the manager just after plug-in enabling.
-
-
-
Method Detail
-
pluginActivated
public void pluginActivated(Plugin plugin)
Description copied from interface:PluginManager.EventListener
This method will be called by the manager just after plug-in has been successfully activated.- Specified by:
pluginActivated
in interfacePluginManager.EventListener
- Parameters:
plugin
- just activated plug-in- See Also:
PluginManager.EventListener.pluginActivated( org.java.plugin.Plugin)
-
pluginDeactivated
public void pluginDeactivated(Plugin plugin)
Description copied from interface:PluginManager.EventListener
This method will be called by the manager just before plug-in deactivation.- Specified by:
pluginDeactivated
in interfacePluginManager.EventListener
- Parameters:
plugin
- plug-in to be deactivated- See Also:
PluginManager.EventListener.pluginDeactivated( org.java.plugin.Plugin)
-
pluginDisabled
public void pluginDisabled(PluginDescriptor descriptor)
Description copied from interface:PluginManager.EventListener
This method will be called by the manager just before plug-in disabling.- Specified by:
pluginDisabled
in interfacePluginManager.EventListener
- Parameters:
descriptor
- descriptor of plug-in to be disabled- See Also:
PluginManager.EventListener.pluginDisabled( org.java.plugin.registry.PluginDescriptor)
-
pluginEnabled
public void pluginEnabled(PluginDescriptor descriptor)
Description copied from interface:PluginManager.EventListener
This method will be called by the manager just after plug-in enabling.- Specified by:
pluginEnabled
in interfacePluginManager.EventListener
- Parameters:
descriptor
- descriptor of enabled plug-in- See Also:
PluginManager.EventListener.pluginEnabled( org.java.plugin.registry.PluginDescriptor)
-
-