Package org.pf4j

Interface PluginStateListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AbstractExtensionFinder, DefaultExtensionFinder, LegacyExtensionFinder, LoggingPluginStateListener, ServiceProviderExtensionFinder

public interface PluginStateListener extends EventListener
PluginStateListener defines the interface for an object that listens to plugin state changes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when a plugin's state (for example DISABLED, STARTED) is changed.
  • Method Details

    • pluginStateChanged

      void pluginStateChanged(PluginStateEvent event)
      Invoked when a plugin's state (for example DISABLED, STARTED) is changed.