org.apache.felix.bundlerepository
Class RepositoryAdminImpl

java.lang.Object
  extended by 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


Field Summary
static java.lang.String EXTERN_REPOSITORY_TAG
           
static java.lang.String REPOSITORY_URL_PROP
           
 
Constructor Summary
RepositoryAdminImpl(org.osgi.framework.BundleContext context)
           
 
Method Summary
 org.osgi.service.obr.Repository addRepository(java.net.URL url)
           
 org.osgi.service.obr.Resource[] discoverResources(java.lang.String filterExpr)
           
 org.osgi.service.obr.Resource getResource(java.lang.String respositoryId)
           
 org.osgi.service.obr.Repository[] listRepositories()
           
 boolean removeRepository(java.net.URL url)
           
 org.osgi.service.obr.Resolver resolver()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

RepositoryAdminImpl

public RepositoryAdminImpl(org.osgi.framework.BundleContext context)
Method Detail

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