org.apache.felix.bundlerepository
Class RepositoryAdminImpl
java.lang.Object
org.apache.felix.bundlerepository.RepositoryAdminImpl
- All Implemented Interfaces:
- org.osgi.service.obr.RepositoryAdmin
public class RepositoryAdminImpl
- extends java.lang.Object
- implements org.osgi.service.obr.RepositoryAdmin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPOSITORY_URL_PROP
public static final java.lang.String REPOSITORY_URL_PROP
- See Also:
- Constant Field Values
EXTERN_REPOSITORY_TAG
public static final java.lang.String EXTERN_REPOSITORY_TAG
- See Also:
- Constant Field Values
RepositoryAdminImpl
public RepositoryAdminImpl(org.osgi.framework.BundleContext context)
addRepository
public org.osgi.service.obr.Repository addRepository(java.net.URL url)
throws java.lang.Exception
- Specified by:
addRepository
in interface org.osgi.service.obr.RepositoryAdmin
- Throws:
java.lang.Exception
removeRepository
public boolean removeRepository(java.net.URL url)
- Specified by:
removeRepository
in interface org.osgi.service.obr.RepositoryAdmin
listRepositories
public org.osgi.service.obr.Repository[] listRepositories()
- Specified by:
listRepositories
in interface org.osgi.service.obr.RepositoryAdmin
getResource
public org.osgi.service.obr.Resource getResource(java.lang.String respositoryId)
- Specified by:
getResource
in interface org.osgi.service.obr.RepositoryAdmin
resolver
public org.osgi.service.obr.Resolver resolver()
- Specified by:
resolver
in interface org.osgi.service.obr.RepositoryAdmin
discoverResources
public org.osgi.service.obr.Resource[] discoverResources(java.lang.String filterExpr)
- Specified by:
discoverResources
in interface org.osgi.service.obr.RepositoryAdmin