Interface PluginManager.PluginManagerListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
ProMActionManager
Enclosing interface:
PluginManager

public static interface PluginManager.PluginManagerListener extends EventListener
This interface describes an error listener for the plugin manager. The method error should be called by a plugin manager while registering packages and scanning for plugins.
Author:
bfvdonge
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    error(URL source, Throwable t, String className)
    Listen for errors which occur while registering packages and scanning for plugins.
    void
    newPlugin(PluginDescriptor plugin, Collection<Class<?>> newTypes)
    Listen for plugins that are registered to the manager.
  • Method Details

    • error

      void error(URL source, Throwable t, String className)
      Listen for errors which occur while registering packages and scanning for plugins.
      Parameters:
      source - The URL which was being registered while this error occurred
      t - The error which occurred
      className - The class name of the class which was being registered, may be null
    • newPlugin

      void newPlugin(PluginDescriptor plugin, Collection<Class<?>> newTypes)
      Listen for plugins that are registered to the manager. Every time a PluginDescriptor is added to the manager, an event is generated.
      Parameters:
      plugin -