Interface ResourceHoldingPlugin

All Superinterfaces:
Plugin
All Known Implementing Classes:
OsgiPlugin

public interface ResourceHoldingPlugin extends Plugin
Represents plugin able to hold/provide resources
  • Method Details

    • getResource

      org.springframework.core.io.Resource getResource(String path)
      Retrieve single resource from plugin. Method do not support wildcard characters.
      Parameters:
      path - path to resource
      Returns:
      Resource or null if resource is not accessible or not found.
    • findResources

      Collection<org.springframework.core.io.Resource> findResources(String path)
      Retrieve all resources from plugin that match provided path. Method do support ant wildcard characters like '**'.
      Parameters:
      path - path to resources
      Returns:
      collection of Resource or null if resources are not accessible or path is not correct.
      See Also:
      • AntPathMatcher