org.objectweb.dsrg.sofa.deployment
Class DeploymentPlanGeneratorImpl

java.lang.Object
  extended by org.objectweb.dsrg.sofa.deployment.DeploymentPlanGeneratorImpl
All Implemented Interfaces:
DeploymentPlanGenerator

public class DeploymentPlanGeneratorImpl
extends java.lang.Object
implements DeploymentPlanGenerator

Implementation of the DeploymentPlanGenerator interface


Field Summary
protected  java.util.HashMap<java.lang.String,RBMConnectorArchitecture> mapConnectorArchitectures
           
protected  RepositoryAgent ra
           
 
Constructor Summary
DeploymentPlanGeneratorImpl()
          The constructor
 
Method Summary
 DeploymentPlan generateDeploymentPlan(AssemblyDescriptor assemblyDescriptor, java.lang.String dpName, java.lang.String dpVersion, java.lang.String connImplementationFileName, CodeBundle connectorsCB)
          Deprecated. 
 void generateDeploymentPlan(DeploymentPlan dp, AssemblyDescriptor assemblyDescriptor, CodeBundle connectorsCB)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ra

protected RepositoryAgent ra

mapConnectorArchitectures

protected java.util.HashMap<java.lang.String,RBMConnectorArchitecture> mapConnectorArchitectures
Constructor Detail

DeploymentPlanGeneratorImpl

public DeploymentPlanGeneratorImpl()
                            throws java.io.IOException
The constructor

Throws:
java.io.IOException
Method Detail

generateDeploymentPlan

@Deprecated
public DeploymentPlan generateDeploymentPlan(AssemblyDescriptor assemblyDescriptor,
                                                        java.lang.String dpName,
                                                        java.lang.String dpVersion,
                                                        java.lang.String connImplementationFileName,
                                                        CodeBundle connectorsCB)
Deprecated. 

Generates the skeleton of the DP

Specified by:
generateDeploymentPlan in interface DeploymentPlanGenerator
Parameters:
assemblyDescriptor - The assembly descriptor of the application
dpName - Name of this DP
dpVersion - Version of this DP
connImplementationFileName - Name of the file with the connector implementation & XML descriptions
connectorsCB - The CodeBundle with the connector implementation

generateDeploymentPlan

public void generateDeploymentPlan(DeploymentPlan dp,
                                   AssemblyDescriptor assemblyDescriptor,
                                   CodeBundle connectorsCB)
Specified by:
generateDeploymentPlan in interface DeploymentPlanGenerator