KickJava   Java API By Example, From Geeks To Geeks.

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


1 package SOFA.Component.DCUP;
2
3
4 /** Component builder. Concrete component builders implement this interface.
5   * Generated by SOFA CodeGen.
6   */

7
8 public interface ComponentBuilderOperations {
9         /** Initializing of the component builder. This method usually must be completed by the developer.
10           * @param cm component manager
11           * @param dd deployment descriptor
12           * @exception ComponentLifecycleException builder cannot be initialized
13           */

14   void initialize(SOFA.Component.ComponentManager cm, SOFA.SOFAnode.Run.Deployment.DeploymentDescriptor dd) throws SOFA.Component.ComponentLifecycleException;
15         /** Destroys component internals. This method is called by the component manager
16           * at the time of the component terminating.
17           * @param stateStore storage for component state
18           * @exception ComponentLifecycleException component cannot be terminated
19           */

20   void onLeaving(SOFA.SOFAnode.Run.Storage stateStore) throws SOFA.Component.ComponentLifecycleException;
21         /** Builds component internals. This method is called by the component manager
22           * at the time of the component creating.
23           * @param stateStore storage for component state
24           * @exception ComponentLifecycleException component cannot be build
25           */

26   void onArrival(SOFA.SOFAnode.Run.Storage stateStore) throws SOFA.Component.ComponentLifecycleException;
27         /** Stores component state - not implemented.
28           * @param stateStore storage for component state
29           * @exception ComponentLifecycleException component cannot be stored
30           */

31   void store(SOFA.SOFAnode.Run.Storage stateStore) throws SOFA.Component.ComponentLifecycleException;
32         /** Restores component state - not implemented.
33           * @param stateStore storage for component state
34           * @exception ComponentLifecycleException component cannot be restored
35           */

36   void restore(SOFA.SOFAnode.Run.Storage stateStore) throws SOFA.Component.ComponentLifecycleException;
37         /** Tests if this component can be updated.
38           * @return <tt>true</tt> if component can be updated
39           */

40   boolean isUpdatable();
41         /** Tests if this component is stopped, i.e. all own threads was stopped and destroyed.
42           * @return <tt>true</tt> if component is stopped
43           */

44   boolean isStopped();
45 }
46
Popular Tags