@Named @Singleton public class LocationManager extends Object
| Constructor | Description |
|---|---|
LocationManager() |
| Modifier and Type | Method | Description |
|---|---|---|
<T> ResolvePathResult |
resolvePath(ResolvePathRequest<T> request) |
Resolve a single jar
|
<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(). |
public <T> ResolvePathResult resolvePath(ResolvePathRequest<T> request) throws IOException
request - the requestResolvePathResult, containing the name and optional module descriptorIOException - if any occurspublic <T> ResolvePathsResult<T> resolvePaths(ResolvePathsRequest<T> request) throws IOException
request.getPathElements() if it belongs to the modulePath or classPath, based on the
request.getMainModuleDescriptor().request - the paths to resolveIOException - if a critical IOException occursCopyright © 2001–2018 Codehaus Plexus. All rights reserved.