Interface PluginResourceLocator


public interface PluginResourceLocator
Host SPI for looking up static resources (for example task icons) shipped inside hot-deployed plugins. Implemented by the OSGi module, so the server does not depend on the OSGi runtime.
  • Method Details

    • findResource

      Optional<URL> findResource(String path)
      Parameters:
      path - resource path relative to the plugin root, for example advancedGate/gate.png
      Returns:
      the resource URL, or empty if no installed plugin contains it