Interface WagonProvider
- All Known Implementing Classes:
 PlexusWagonProvider
public interface WagonProvider
A component to acquire and release wagon instances for uploads/downloads.
- 
Method Summary
 
- 
Method Details
- 
lookup
Acquires a wagon instance that matches the specified role hint. The role hint is derived from the URI scheme, e.g. "http" or "file".- Parameters:
 roleHint- The role hint to get a wagon for, must not benull.- Returns:
 - The requested wagon instance, never 
null. - Throws:
 Exception- If no wagon could be retrieved for the specified role hint.
 - 
release
Releases the specified wagon. A wagon provider may either free any resources allocated for the wagon instance or return the instance back to a pool for future use.- Parameters:
 wagon- The wagon to release, may benull.
 
 -