org.apache.aries.application.deployment.management.impl
Class DeploymentManifestManagerImpl

java.lang.Object
  extended by org.apache.aries.application.deployment.management.impl.DeploymentManifestManagerImpl
All Implemented Interfaces:
DeploymentManifestManager

public class DeploymentManifestManagerImpl
extends Object
implements DeploymentManifestManager


Constructor Summary
DeploymentManifestManagerImpl()
           
 
Method Summary
 DeployedBundles generateDeployedBundles(ApplicationMetadata appMetadata, Collection<ModelledResource> provideByValueBundles, Collection<Content> otherBundles)
          Perform provisioning to work out the 'freeze dried list' of the eba
 Manifest generateDeploymentManifest(AriesApplication app, ResolveConstraint... constraints)
          Perform provisioning to work out the 'freeze dried list' of the eba
 Manifest generateDeploymentManifest(String appSymbolicName, String appVersion, DeployedBundles deployedBundles)
           
 LocalPlatform getLocalPlatform()
           
 ModelledResourceManager getModelledResourceManager()
           
 void setLocalPlatform(LocalPlatform localPlatform)
           
 void setModelledResourceManager(ModelledResourceManager modelledResourceManager)
           
 void setModellingHelper(ModellingHelper mh)
           
 void setModellingManager(ModellingManager m)
           
 void setPostResolveTransformer(PostResolveTransformer transformer)
           
 void setResolver(AriesApplicationResolver resolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentManifestManagerImpl

public DeploymentManifestManagerImpl()
Method Detail

setModellingManager

public void setModellingManager(ModellingManager m)

setModellingHelper

public void setModellingHelper(ModellingHelper mh)

getLocalPlatform

public LocalPlatform getLocalPlatform()

setLocalPlatform

public void setLocalPlatform(LocalPlatform localPlatform)

getModelledResourceManager

public ModelledResourceManager getModelledResourceManager()

setModelledResourceManager

public void setModelledResourceManager(ModelledResourceManager modelledResourceManager)

setPostResolveTransformer

public void setPostResolveTransformer(PostResolveTransformer transformer)

setResolver

public void setResolver(AriesApplicationResolver resolver)

generateDeploymentManifest

public Manifest generateDeploymentManifest(AriesApplication app,
                                           ResolveConstraint... constraints)
                                    throws ResolverException
Perform provisioning to work out the 'freeze dried list' of the eba

Specified by:
generateDeploymentManifest in interface DeploymentManifestManager
Parameters:
app - - Aries application
ResolveConstraint - - resolver constraint for limiting the resolving results
Returns:
manifest the generated deployment manifest
Throws:
ResolverException

generateDeployedBundles

public DeployedBundles generateDeployedBundles(ApplicationMetadata appMetadata,
                                               Collection<ModelledResource> provideByValueBundles,
                                               Collection<Content> otherBundles)
                                        throws ResolverException
Perform provisioning to work out the 'freeze dried list' of the eba

Specified by:
generateDeployedBundles in interface DeploymentManifestManager
Parameters:
appContent - - the application content in the application.mf
useBundleContent - - use bundle entry in the application.mf
providedByValueBundles - - bundles contained in the eba
Returns:
Throws:
ResolverException

generateDeploymentManifest

public Manifest generateDeploymentManifest(String appSymbolicName,
                                           String appVersion,
                                           DeployedBundles deployedBundles)
                                    throws ResolverException
Specified by:
generateDeploymentManifest in interface DeploymentManifestManager
Throws:
ResolverException


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