org.jvnet.hk2.osgiadapter
Class OSGiObrBasedRepository
java.lang.Object
org.jvnet.hk2.osgiadapter.OSGiObrBasedRepository
- All Implemented Interfaces:
- Repository
public class OSGiObrBasedRepository
- extends Object
- implements Repository
- Author:
- Sanjeeb.Sahoo@Sun.COM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSGiObrBasedRepository
public OSGiObrBasedRepository(org.apache.felix.bundlerepository.Repository obr)
getName
public String getName()
- Specified by:
getName in interface Repository
getLocation
public URI getLocation()
- Specified by:
getLocation in interface Repository
find
public ModuleDefinition find(String name,
String version)
- Specified by:
find in interface Repository
findAll
public List<ModuleDefinition> findAll()
- Specified by:
findAll in interface Repository
findAll
public List<ModuleDefinition> findAll(String name)
- Specified by:
findAll in interface Repository
initialize
public void initialize()
throws IOException
- Specified by:
initialize in interface Repository
- Throws:
IOException
shutdown
public void shutdown()
throws IOException
- Specified by:
shutdown in interface Repository
- Throws:
IOException
getJarLocations
public List<URI> getJarLocations()
- Specified by:
getJarLocations in interface Repository
addListener
public boolean addListener(RepositoryChangeListener listener)
- Specified by:
addListener in interface Repository
removeListener
public boolean removeListener(RepositoryChangeListener listener)
- Specified by:
removeListener in interface Repository
Copyright © 2012 Oracle Corporation. All Rights Reserved.