|
||||||||||
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)
Creates new component instance reference. |
Method Summary | |
---|---|
java.lang.String |
getComponentHierarchicalName()
Get component hierarchical name. |
java.lang.String |
getComponentId()
Get component instance unique ID. |
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)
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 void start() throws java.rmi.RemoteException, DeploymentErrorException
java.rmi.RemoteException
DeploymentErrorException
public void stop() throws java.rmi.RemoteException, DeploymentErrorException
remove
- True if the component should be removed from the list
java.rmi.RemoteException
DeploymentErrorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |