org.objectweb.dsrg.sofa.deployment
Interface DeploymentDock

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
DeploymentDockImpl

public interface DeploymentDock
extends java.rmi.Remote

The remote interface for the Deployment Dock


Method Summary
 void addConnectorUnitITs(java.lang.String dpName, java.lang.String dpVersion, java.lang.String componentInstanceName)
           
 java.util.List<ComponentHandle> getRunningApplications()
           
 java.util.List<ComponentHandle> getRunningComponents()
           
 ComponentHandle instantiateComponent(java.lang.String dpName, java.lang.String dpVersion, java.lang.String componentName, java.lang.String componentInstanceName, ComponentHandle parent, java.util.LinkedList<org.objectweb.dsrg.sofa.deployment.ConnectorUnitBindable> cuListCurrent)
           
 java.lang.Object instantiateDynamicComponent(java.lang.String factoryInstanceName, int dynamicInstanceIndex, java.lang.String interfaceName, java.lang.String dynamicID)
           
 ComponentHandle launchApplication(java.lang.String dpName, java.lang.String version)
           
 ComponentHandle lookup(java.lang.String name)
           
 void notifyDeploymentFailed(java.lang.String deploymentPlanID)
           
 void notifyDeploymentSuccessfull(java.lang.String deploymentPlanID)
           
 void shutdownApplication(java.lang.String appName, java.lang.String appVersion)
           
 void startComponent(ComponentHandle component)
           
 void stopComponent(ComponentHandle component, boolean remove)
           
 

Method Detail

addConnectorUnitITs

void addConnectorUnitITs(java.lang.String dpName,
                         java.lang.String dpVersion,
                         java.lang.String componentInstanceName)
                         throws java.rmi.RemoteException,
                                DeploymentErrorException
Throws:
java.rmi.RemoteException
DeploymentErrorException

launchApplication

ComponentHandle launchApplication(java.lang.String dpName,
                                  java.lang.String version)
                                  throws java.rmi.RemoteException,
                                         DeploymentErrorException
Throws:
java.rmi.RemoteException
DeploymentErrorException

instantiateComponent

ComponentHandle instantiateComponent(java.lang.String dpName,
                                     java.lang.String dpVersion,
                                     java.lang.String componentName,
                                     java.lang.String componentInstanceName,
                                     ComponentHandle parent,
                                     java.util.LinkedList<org.objectweb.dsrg.sofa.deployment.ConnectorUnitBindable> cuListCurrent)
                                     throws java.rmi.RemoteException,
                                            DeploymentErrorException
Throws:
java.rmi.RemoteException
DeploymentErrorException

instantiateDynamicComponent

java.lang.Object instantiateDynamicComponent(java.lang.String factoryInstanceName,
                                             int dynamicInstanceIndex,
                                             java.lang.String interfaceName,
                                             java.lang.String dynamicID)
                                             throws java.rmi.RemoteException,
                                                    DeploymentErrorException
Throws:
java.rmi.RemoteException
DeploymentErrorException

lookup

ComponentHandle lookup(java.lang.String name)
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

startComponent

void startComponent(ComponentHandle component)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

stopComponent

void stopComponent(ComponentHandle component,
                   boolean remove)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

shutdownApplication

void shutdownApplication(java.lang.String appName,
                         java.lang.String appVersion)
                         throws java.rmi.RemoteException,
                                DockNotFoundException,
                                DeploymentErrorException
Throws:
java.rmi.RemoteException
DockNotFoundException
DeploymentErrorException

notifyDeploymentSuccessfull

void notifyDeploymentSuccessfull(java.lang.String deploymentPlanID)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

notifyDeploymentFailed

void notifyDeploymentFailed(java.lang.String deploymentPlanID)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getRunningApplications

java.util.List<ComponentHandle> getRunningApplications()
                                                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getRunningComponents

java.util.List<ComponentHandle> getRunningComponents()
                                                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException