A Swiss Army Knife for OSGi

aQute.bnd.service
Interface RemoteRepositoryPlugin

All Superinterfaces:
RepositoryPlugin

public interface RemoteRepositoryPlugin
extends RepositoryPlugin


Nested Class Summary
 
Nested classes/interfaces inherited from interface aQute.bnd.service.RepositoryPlugin
RepositoryPlugin.Strategy
 
Method Summary
 java.io.File getCacheDirectory()
           
 ResourceHandle getHandle(java.lang.String bsn, java.lang.String range, RepositoryPlugin.Strategy strategy, java.util.Map<java.lang.String,java.lang.String> properties)
          Retrieve a resource handle from the repository.
 
Methods inherited from interface aQute.bnd.service.RepositoryPlugin
canWrite, get, get, getName, list, put, versions
 

Method Detail

getHandle

ResourceHandle getHandle(java.lang.String bsn,
                         java.lang.String range,
                         RepositoryPlugin.Strategy strategy,
                         java.util.Map<java.lang.String,java.lang.String> properties)
                         throws java.lang.Exception
Retrieve a resource handle from the repository. For all implementations of this interface, calling getFile(bsn, range, strategy, props) should always return the same result as getResource(bsn, range, strategy, props).request().

Parameters:
bsn -
range -
strategy -
properties -
Returns:
Throws:
java.lang.Exception

getCacheDirectory

java.io.File getCacheDirectory()

Licensed under Apache Software License 2.0

Copyright å© aQute SARL (2000, 2011). All Rights Reserved.