JPF 1.5.1

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
 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

void pluginActivated(Plugin plugin)
This method will be called by the manager just after plug-in has been successfully activated.

Parameters:
plugin - just activated plug-in

pluginDeactivated

void pluginDeactivated(Plugin plugin)
This method will be called by the manager just before plug-in deactivation.

Parameters:
plugin - plug-in to be deactivated

pluginDisabled

void pluginDisabled(PluginDescriptor descriptor)
This method will be called by the manager just before plug-in disabling.

Parameters:
descriptor - descriptor of plug-in to be disabled

pluginEnabled

void pluginEnabled(PluginDescriptor descriptor)
This method will be called by the manager just after plug-in enabling.

Parameters:
descriptor - descriptor of enabled plug-in

JPF 1.5.1

Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.