public class OSGiObrBasedRepository extends java.lang.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(java.lang.String name,
java.lang.String version) |
java.util.List<ModuleDefinition> |
findAll() |
java.util.List<ModuleDefinition> |
findAll(java.lang.String name) |
java.util.List<java.net.URI> |
getJarLocations() |
java.net.URI |
getLocation() |
java.lang.String |
getName() |
void |
initialize() |
boolean |
removeListener(RepositoryChangeListener listener) |
void |
shutdown() |
public OSGiObrBasedRepository(org.apache.felix.bundlerepository.Repository obr)
public java.lang.String getName()
getName in interface Repositorypublic java.net.URI getLocation()
getLocation in interface Repositorypublic ModuleDefinition find(java.lang.String name, java.lang.String version)
find in interface Repositorypublic java.util.List<ModuleDefinition> findAll()
findAll in interface Repositorypublic java.util.List<ModuleDefinition> findAll(java.lang.String name)
findAll in interface Repositorypublic void initialize()
throws java.io.IOException
initialize in interface Repositoryjava.io.IOExceptionpublic void shutdown()
throws java.io.IOException
shutdown in interface Repositoryjava.io.IOExceptionpublic java.util.List<java.net.URI> getJarLocations()
getJarLocations in interface Repositorypublic boolean addListener(RepositoryChangeListener listener)
addListener in interface Repositorypublic boolean removeListener(RepositoryChangeListener listener)
removeListener in interface RepositoryCopyright © 2013 Oracle Corporation. All Rights Reserved.