blob: cbd42b88f85363b804c94867743d20c0daa3fbb0 [file] [log] [blame]
Stuart McCulloch26e7a5a2011-10-17 10:31:43 +00001package aQute.bnd.service;
2
3import java.util.Map;
4
5public interface RemoteRepositoryPlugin extends RepositoryPlugin {
6 /**
7 * Retrieve a resource handle from the repository. For all implementations of this interface, calling {@code getFile(bsn, range, strategy, props)}
8 * should always return the same result as {@code getResource(bsn, range, strategy, props).request()}.
9 * @param bsn
10 * @param range
11 * @param strategy
12 * @param properties
13 * @return
14 * @throws Exception
15 */
16 ResourceHandle getHandle(String bsn, String range, Strategy strategy, Map<String,String> properties) throws Exception;
17}