JPF 1.5.1

org.java.plugin
Class PluginManager.EventListenerAdapter

java.lang.Object
  extended by 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
PluginManager.EventListenerAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginManager.EventListenerAdapter

public PluginManager.EventListenerAdapter()
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 interface PluginManager.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 interface PluginManager.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 interface PluginManager.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 interface PluginManager.EventListener
Parameters:
descriptor - descriptor of enabled plug-in
See Also:
PluginManager.EventListener.pluginEnabled( org.java.plugin.registry.PluginDescriptor)

JPF 1.5.1

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