KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SOFA > Component > DCUP > ComponentUpdateOperations


1 package SOFA.Component.DCUP;
2
3
4 /** Component update control interface of the component manager. It provides methods for
5   * dynamic update.
6   * Generated by SOFA CodeGen.
7   */

8
9 public interface ComponentUpdateOperations {
10         /** Updates component by new version.
11           * @param newDeploymentDescriptor deployment dscriptor of the new version of the component
12           * @param stateStore storage for the component state
13           * @exception ComponentLifecycleException component cannot be updated
14           */

15   void updateComponent(SOFA.SOFAnode.Run.Deployment.DeploymentDescriptor newDeploymentDescriptor, SOFA.SOFAnode.Run.Storage stateStore) throws SOFA.Component.ComponentLifecycleException;
16         /** Tests if this component is stopped, i.e. all own threads was stopped and destroyed.
17           * This method calls method <tt>isUpdatable</tt> of the <tt>ComponentBuilder</tt>.
18           * @return <tt>true</tt> if component is stopped
19           */

20   boolean isUpdatable();
21 }
22
Popular Tags