Class LocationManager


  • @Singleton
    @Component(role=LocationManager.class)
    public class LocationManager
    extends java.lang.Object
    Maps artifacts to modules and analyzes the type of required modules
    Since:
    1.0.0
    Author:
    Robert Scholte
    • Constructor Summary

      Constructors 
      Constructor Description
      LocationManager()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> ResolvePathsResult<T> resolvePaths​(ResolvePathsRequest<T> request)
      Decide for every request.getPathElements() if it belongs to the modulePath or classPath, based on the request.getMainModuleDescriptor().
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocationManager

        public LocationManager()
    • Method Detail

      • resolvePaths

        public <T> ResolvePathsResult<T> resolvePaths​(ResolvePathsRequest<T> request)
                                               throws java.io.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:
        java.io.IOException - if a critical IOException occurs