public class OSGiObrBasedRepository extends Object implements Repository
| Constructor and Description |
|---|
OSGiObrBasedRepository(org.apache.felix.bundlerepository.Repository obr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addListener(RepositoryChangeListener listener) |
ModuleDefinition |
find(String name,
String version) |
List<ModuleDefinition> |
findAll() |
List<ModuleDefinition> |
findAll(String name) |
List<URI> |
getJarLocations() |
URI |
getLocation() |
String |
getName() |
void |
initialize() |
boolean |
removeListener(RepositoryChangeListener listener) |
void |
shutdown() |
public OSGiObrBasedRepository(org.apache.felix.bundlerepository.Repository obr)
public String getName()
getName in interface Repositorypublic URI getLocation()
getLocation in interface Repositorypublic ModuleDefinition find(String name, String version)
find in interface Repositorypublic List<ModuleDefinition> findAll()
findAll in interface Repositorypublic List<ModuleDefinition> findAll(String name)
findAll in interface Repositorypublic void initialize()
throws IOException
initialize in interface RepositoryIOExceptionpublic void shutdown()
throws IOException
shutdown in interface RepositoryIOExceptionpublic List<URI> getJarLocations()
getJarLocations in interface Repositorypublic boolean addListener(RepositoryChangeListener listener)
addListener in interface Repositorypublic boolean removeListener(RepositoryChangeListener listener)
removeListener in interface RepositoryCopyright © 2009-2015 Oracle Corporation. All Rights Reserved.