Class LocationManager


  • @Named
    @Singleton
    public class LocationManager
    extends Object
    Maps artifacts to modules and analyzes the type of required modules
    Since:
    1.0.0
    Author:
    Robert Scholte
    • Constructor Detail

      • LocationManager

        public LocationManager()
    • Method Detail

      • resolvePaths

        public <T> ResolvePathsResult<T> resolvePaths​(ResolvePathsRequest<T> request)
                                               throws IOException
        Decide for every request.getPathElements() if it belongs to the modulePath or classPath, based on the request.getMainModuleDescriptor().
        Parameters:
        request - the paths to resolve
        Returns:
        the result of the resolution
        Throws:
        IOException - if a critical IOException occurs