org.apache.felix.bundlerepository
Class RepositoryAdminImpl

java.lang.Object
  extended by org.apache.felix.bundlerepository.RepositoryAdminImpl
All Implemented Interfaces:
RepositoryAdmin

public class RepositoryAdminImpl
extends Object
implements RepositoryAdmin


Field Summary
static String EXTERN_REPOSITORY_TAG
           
static String REPOSITORY_URL_PROP
           
 
Constructor Summary
RepositoryAdminImpl(BundleContext context, Logger logger)
           
 
Method Summary
 Repository addRepository(URL url)
           
 Repository addRepository(URL url, int hopCount)
           
 Resource[] discoverResources(String filterExpr)
           
 void dispose()
           
 Resource getResource(String respositoryId)
           
 Repository[] listRepositories()
           
 boolean removeRepository(URL url)
           
 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 String REPOSITORY_URL_PROP
See Also:
Constant Field Values

EXTERN_REPOSITORY_TAG

public static final String EXTERN_REPOSITORY_TAG
See Also:
Constant Field Values
Constructor Detail

RepositoryAdminImpl

public RepositoryAdminImpl(BundleContext context,
                           Logger logger)
Method Detail

dispose

public void dispose()

addRepository

public Repository addRepository(URL url)
                         throws Exception
Specified by:
addRepository in interface RepositoryAdmin
Throws:
Exception

addRepository

public Repository addRepository(URL url,
                                int hopCount)
                         throws Exception
Throws:
Exception

removeRepository

public boolean removeRepository(URL url)
Specified by:
removeRepository in interface RepositoryAdmin

listRepositories

public Repository[] listRepositories()
Specified by:
listRepositories in interface RepositoryAdmin

getResource

public Resource getResource(String respositoryId)
Specified by:
getResource in interface RepositoryAdmin

resolver

public Resolver resolver()
Specified by:
resolver in interface RepositoryAdmin

discoverResources

public Resource[] discoverResources(String filterExpr)
Specified by:
discoverResources in interface RepositoryAdmin


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.