org.jvnet.hk2.osgiadapter
Class OSGiObrBasedRepository
java.lang.Object
org.jvnet.hk2.osgiadapter.OSGiObrBasedRepository
- All Implemented Interfaces:
- Repository
public class OSGiObrBasedRepository
- extends java.lang.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 java.lang.String getName()
- Specified by:
getName in interface Repository
getLocation
public java.net.URI getLocation()
- Specified by:
getLocation in interface Repository
find
public ModuleDefinition find(java.lang.String name,
java.lang.String version)
- Specified by:
find in interface Repository
findAll
public java.util.List<ModuleDefinition> findAll()
- Specified by:
findAll in interface Repository
findAll
public java.util.List<ModuleDefinition> findAll(java.lang.String name)
- Specified by:
findAll in interface Repository
initialize
public void initialize()
throws java.io.IOException
- Specified by:
initialize in interface Repository
- Throws:
java.io.IOException
shutdown
public void shutdown()
throws java.io.IOException
- Specified by:
shutdown in interface Repository
- Throws:
java.io.IOException
getJarLocations
public java.util.List<java.net.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 © 2013 Oracle Corporation. All Rights Reserved.