Interface ClasspathResolver


public interface ClasspathResolver
Used for filtering and disambiguating bindings in the index to match the classpath.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    resolve​(NdResourceFile sourceOfReference, NdResourceFile toTest)
    Returns the priority of the given resource file on the classpath or NOT_ON_CLASSPATH if the given file is not onthe classpath.
  • Field Details

  • Method Details

    • resolve

      int resolve(NdResourceFile sourceOfReference, NdResourceFile toTest)
      Returns the priority of the given resource file on the classpath or NOT_ON_CLASSPATH if the given file is not onthe classpath. In the event that the same fully-qualified class name is found in multiple resource files, the one with the higher priority number is preferred.