Class FolderScanPluginManager

java.lang.Object
ai.djl.serving.plugins.FolderScanPluginManager
All Implemented Interfaces:
PluginManager

public class FolderScanPluginManager extends Object implements PluginManager
The PluginManager is responsible to load and manage plugins from the file system.

The Plugin Folder configuration is received from the ConfigManager and usually defaults to {workpath}/plugins. The plugins uses Java's SPI and have to implement interfaces from serving-api.

  • Constructor Details

    • FolderScanPluginManager

      public FolderScanPluginManager(ConfigManager configManager)
      Constructs a PluginManager instance.
      Parameters:
      configManager - a instance of the configManager to lookup configuration like plugin-folder.
  • Method Details