|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dsrg.sofa.deployment.ComponentHandle
public class ComponentHandle
Remote reference to component instance. Consists of two parts - deployment dock reference and component instance unique ID per dock.
Constructor Summary | |
---|---|
ComponentHandle(DeploymentDock dock,
java.lang.String id,
java.lang.String hName,
java.lang.String dpName,
java.lang.String dpVersion)
Creates new component instance reference. |
Method Summary | |
---|---|
java.lang.String |
getComponentHierarchicalName()
Get component hierarchical name. |
java.lang.String |
getComponentId()
Get component instance unique ID. |
java.lang.String |
getDeploymentPlanName()
Get the name of deployment plan by using which the component was deployed. |
java.lang.String |
getDeploymentPlanVersion()
Get the name of deployment version by using which the component was deployed. |
DeploymentDock |
getDock()
Get remote reference to deployment dock where component instance lives. |
void |
start()
Start the component. |
void |
stop()
Stops the component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentHandle(DeploymentDock dock, java.lang.String id, java.lang.String hName, java.lang.String dpName, java.lang.String dpVersion)
dock
- Dock where component instance lives.id
- ID of the component instance.hName
- Hierarchical name of the component in the application.Method Detail |
---|
public DeploymentDock getDock()
public java.lang.String getComponentId()
public java.lang.String getComponentHierarchicalName()
public java.lang.String getDeploymentPlanName()
public java.lang.String getDeploymentPlanVersion()
public void start() throws java.rmi.RemoteException, DeploymentErrorException
java.rmi.RemoteException
DeploymentErrorException
public void stop() throws java.rmi.RemoteException, DeploymentErrorException
java.rmi.RemoteException
DeploymentErrorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |