Interface ExtensionUnloadingHandler


public interface ExtensionUnloadingHandler
Extensions can implement this interface and then call Extension.registerUnloadingHandler(ExtensionUnloadingHandler) to register an extension unload handler. The handler will be notified when an extension is unloaded.
Note: Any extensions that start background threads or open system resources (such as files or database connections) should register a handler and terminate threads / close resources when the extension is unloaded.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is invoked when the extension is unloaded.
  • Method Details

    • extensionUnloaded

      void extensionUnloaded()
      This method is invoked when the extension is unloaded.