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 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
EventListenerAdapter
public EventListenerAdapter()
-
-
Method Details
-
pluginActivated
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:
-
pluginDeactivated
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:
-
pluginDisabled
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:
-
pluginEnabled
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:
-