org.apache.aries.application.management.spi.update
Interface UpdateStrategy.UpdateInfo

Enclosing interface:
UpdateStrategy

public static interface UpdateStrategy.UpdateInfo

Representation for an update request


Method Summary
 BundleFramework getAppFramework()
          Get a BundleFramework object for the isolated framework corresponding to the application to be updated
 AriesApplication getApplication()
          Get the AriesApplication object being updated
 DeploymentMetadata getNewMetadata()
          Get the DeploymentMetadata that is to be activated
 DeploymentMetadata getOldMetadata()
          Get the DeploymentMetadata that is currently active and to be phased out
 BundleFramework getSharedFramework()
          Get a BundleFramework object for the shared framework
 void register(Bundle bundle)
          Register a new bundle with the application (i.e.
 boolean startBundles()
          Whether to start any newly installed bundles
 Map<DeploymentContent,BundleRepository.BundleSuggestion> suggestBundle(Collection<DeploymentContent> bundles)
          Find BundleRepository.BundleSuggestion objects for new bundle requests
 void unregister(Bundle bundle)
          Unregister a bundle from the application (i.e.
 

Method Detail

suggestBundle

Map<DeploymentContent,BundleRepository.BundleSuggestion> suggestBundle(Collection<DeploymentContent> bundles)
                                                                       throws BundleException
Find BundleRepository.BundleSuggestion objects for new bundle requests

Throws:
BundleException

register

void register(Bundle bundle)
Register a new bundle with the application (i.e. a new bundle was installed)


unregister

void unregister(Bundle bundle)
Unregister a bundle from the application (i.e. the bundle was uninstalled)


getSharedFramework

BundleFramework getSharedFramework()
Get a BundleFramework object for the shared framework


getAppFramework

BundleFramework getAppFramework()
Get a BundleFramework object for the isolated framework corresponding to the application to be updated


getOldMetadata

DeploymentMetadata getOldMetadata()
Get the DeploymentMetadata that is currently active and to be phased out


getNewMetadata

DeploymentMetadata getNewMetadata()
Get the DeploymentMetadata that is to be activated


getApplication

AriesApplication getApplication()
Get the AriesApplication object being updated


startBundles

boolean startBundles()
Whether to start any newly installed bundles



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