Interface PluginResourceLocatorService<P extends PluginResource>

Type Parameters:
P - The resource type
All Known Subinterfaces:
JVMPluginResourceLocatorService
All Known Implementing Classes:
ClasspathPluginResourceLocatorService, DirectoryPluginResourceLocatorService, EnvironmentPluginResourceLocatorService

public interface PluginResourceLocatorService<P extends PluginResource>
A service used to find resources to be processed by language services or other implementation constructs.

No class loading should occur at this time.

Implementors of this class are required to have a no-args constructor.

  • Method Details

    • name

      String name()
      Returns:
      The name
    • locatePluginResources

      Set<P> locatePluginResources(Environment environment)
      Parameters:
      environment - The environment
      Returns:
      The resources as an unmodifiable Set