Package org.java.plugin
Interface PluginManager.EventListener
- All Known Implementing Classes:
PluginManager.EventListenerAdapter
- Enclosing class:
- PluginManager
public static interface PluginManager.EventListener
Plug-ins life-cycle events callback interface.
- Version:
- $Id: PluginManager.java,v 1.5 2007/04/07 12:42:14 ddimon Exp $
-
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.
-
Method Details
-
pluginActivated
This method will be called by the manager just after plug-in has been successfully activated.- Parameters:
plugin
- just activated plug-in
-
pluginDeactivated
This method will be called by the manager just before plug-in deactivation.- Parameters:
plugin
- plug-in to be deactivated
-
pluginDisabled
This method will be called by the manager just before plug-in disabling.- Parameters:
descriptor
- descriptor of plug-in to be disabled
-
pluginEnabled
This method will be called by the manager just after plug-in enabling.- Parameters:
descriptor
- descriptor of enabled plug-in
-