org.apache.aries.application.management.spi.resolve
Interface DeploymentManifestManager


public interface DeploymentManifestManager


Method Summary
 DeployedBundles generateDeployedBundles(ApplicationMetadata appMetadata, Collection<ModelledResource> byValueBundles, Collection<Content> otherBundles)
          Generate the deployment manifest map.
 Manifest generateDeploymentManifest(AriesApplication app, ResolveConstraint... constraints)
          Generate the deployment manifest map for the application.
 Manifest generateDeploymentManifest(String appSymbolicName, String appVersion, DeployedBundles deployedBundles)
          Generate a Manifest representation of a DEPLOYMENT.MF, suitable for example to writing to disk
 

Method Detail

generateDeploymentManifest

Manifest generateDeploymentManifest(AriesApplication app,
                                    ResolveConstraint... constraints)
                                    throws ResolverException
Generate the deployment manifest map for the application. The method is designed to be used when installing an application.

Parameters:
app - The Aries application
constraints - the constraints, used to narrow down the deployment content
Returns:
the deployment manifest
Throws:
ResolverException

generateDeployedBundles

DeployedBundles generateDeployedBundles(ApplicationMetadata appMetadata,
                                        Collection<ModelledResource> byValueBundles,
                                        Collection<Content> otherBundles)
                                        throws ResolverException
Generate the deployment manifest map. The method can be used for some advanced scenarios.

Parameters:
appMetadata - The Aries application metadata
byValueBundles - By value bundles
otherBundles - Other bundles to be used to narrow the resolved bundles
Returns:
DeployedBundles model of the deployed application
Throws:
ResolverException

generateDeploymentManifest

Manifest generateDeploymentManifest(String appSymbolicName,
                                    String appVersion,
                                    DeployedBundles deployedBundles)
                                    throws ResolverException
Generate a Manifest representation of a DEPLOYMENT.MF, suitable for example to writing to disk

Parameters:
appSymbolicName -
appVersion -
deployedBundles - Such as obtained from generateDeployedBundles()
Returns:
the deployment manifest
Throws:
ResolverException


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