org.apache.aries.application.runtime.repository
Class BundleRepositoryManagerImpl

java.lang.Object
  extended by org.apache.aries.application.runtime.repository.BundleRepositoryManagerImpl
All Implemented Interfaces:
BundleRepositoryManager

public class BundleRepositoryManagerImpl
extends Object
implements BundleRepositoryManager


Constructor Summary
BundleRepositoryManagerImpl()
           
 
Method Summary
 Collection<BundleRepository> getAllBundleRepositories()
           
 Collection<BundleRepository> getBundleRepositoryCollection(String appName, String appVersion)
           
 Map<DeploymentContent,BundleRepository.BundleSuggestion> getBundleSuggestions(Collection<BundleRepository> providers, Collection<DeploymentContent> content)
           
 Map<DeploymentContent,BundleRepository.BundleSuggestion> getBundleSuggestions(Collection<DeploymentContent> content)
           
 Map<DeploymentContent,BundleRepository.BundleSuggestion> getBundleSuggestions(String applicationName, String applicationVersion, Collection<DeploymentContent> content)
           
 void setBundleContext(org.osgi.framework.BundleContext bc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleRepositoryManagerImpl

public BundleRepositoryManagerImpl()
Method Detail

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bc)

getAllBundleRepositories

public Collection<BundleRepository> getAllBundleRepositories()
Specified by:
getAllBundleRepositories in interface BundleRepositoryManager

getBundleRepositoryCollection

public Collection<BundleRepository> getBundleRepositoryCollection(String appName,
                                                                  String appVersion)
Specified by:
getBundleRepositoryCollection in interface BundleRepositoryManager

getBundleSuggestions

public Map<DeploymentContent,BundleRepository.BundleSuggestion> getBundleSuggestions(Collection<BundleRepository> providers,
                                                                                     Collection<DeploymentContent> content)
                                                                              throws ContextException
Specified by:
getBundleSuggestions in interface BundleRepositoryManager
Throws:
ContextException

getBundleSuggestions

public Map<DeploymentContent,BundleRepository.BundleSuggestion> getBundleSuggestions(String applicationName,
                                                                                     String applicationVersion,
                                                                                     Collection<DeploymentContent> content)
                                                                              throws ContextException
Specified by:
getBundleSuggestions in interface BundleRepositoryManager
Throws:
ContextException

getBundleSuggestions

public Map<DeploymentContent,BundleRepository.BundleSuggestion> getBundleSuggestions(Collection<DeploymentContent> content)
                                                                              throws ContextException
Specified by:
getBundleSuggestions in interface BundleRepositoryManager
Throws:
ContextException


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.