]> SALOME platform Git repositories - modules/kernel.git/blob - doc/html/INPUT/sources/static/overview_Life_Cycle.html
Salome HOME
DCQ: prepare V2.0.0
[modules/kernel.git] / doc / html / INPUT / sources / static / overview_Life_Cycle.html
1 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">\r
2 <html>\r
3 <head>\r
4    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
5    <meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">\r
6    <title>Life Cycle service Description</title>\r
7 \r
8 <link href="doxygen.css" rel="stylesheet" type="text/css">\r
9 \r
10 </head>\r
11 \r
12 <body>\r
13 &nbsp;\r
14 <center><table WIDTH="96%" >\r
15 <tr>\r
16 <td><a href="http://www.opencascade.com"><img src="sources/logocorp.gif" BORDER=0 height=46 width=122></a></td>\r
17 \r
18 \r
19 <td>\r
20 <div align=right><a href="http://www.opencascade.org/SALOME/"><img src="sources/application.gif" BORDER=0 height=46 width=108></a></div>\r
21 </td>\r
22 </tr>\r
23 </table></center>\r
24 \r
25 \r
26 <h1><a name="page2">Life Cycle service Description</a> </h1>\r
27 <h2>Introduction</h2>\r
28 <p> The objective of this document is to give the users of SALOME \r
29   application a brief overview of the Life Cycle service implemented in SALOME. \r
30   A complete version of the LifeCycle service specification edited by the Object Management Group, Inc.(OMG) can be found <a href="http://www.omg.org" target="top">here.</a> <a name="#cont"></a>\r
31   </p>\r
32 <a name="cont"></a><h2>Table of contents </h2>\r
33 <b><i><ul>\r
34   <li><a href="#1">1. Overview</a></li>\r
35 \r
36 \r
37   <li><a href="#2">2. SALOME Life Cycle service description</a></li>\r
38 </ul>\r
39 </i></b><br>\r
40 \r
41 <a name="1"></a><h2>1. Overview</h2>\r
42   \r
43 <p>Life Cycle service defines services and conventions for creating, deleting, copying and moving objects. \r
44 Because CORBA-based environments support distributed objects, the Life Cycle service defines conventions that allow clients to perform \r
45 life cycle operations on objects in different locations. This overview describes the life cycle problem for distributed object systems. </p>\r
46 <br>\r
47   \r
48 \r
49 <a name="2"></a><h2>2. SALOME Life Cycle service description</h2>\r
50 <p>The SALOME  Life Cycle service represents a partial implementation of the CORBA LifeCycle service. <p>\r
51 <p>From general point of view, the SALOME  Life Cycle service allows to <i>find</i> or <i>load</i> with the help of a given container a definte SALOME component with its further\r
52 initialization and registration in the Naming service.</p>\r
53 <p><b>Container</b>  - it's a certain engine realizing the mechanism of loading a SALOME module.</p>\r
54   <p><b>Component</b> - it's a certain abstract shell wrapping SALOME modules, performing all operations concerned with their initialization and registration. </p>\r
55 <p>From the point of view of the service user, the Life Cycle provides a set of functions allowing to :</p>\r
56 <ul>\r
57 <li>Locate a machine (more generally a container) by a logical set of required features (of both container and\r
58         machine);</li>\r
59 <li>Load  components on the obtained containers;</li>\r
60 <li>Create a container;</li>\r
61 <li>Obtain the container containing a given component;</li>\r
62 <li>Treat the list of the active components;</li>\r
63 <li>Treat the list of the available containers.</li>\r
64 </ul>\r
65  \r
66 \r
67 \r
68 <p>The SALOME  Life Cycle is a CORBA server. This server at its initialization is  registered with the naming service.</p>\r
69 <p>The Life Cycle service is invoked  to find a container and use it to load a\r
70 component. It supplies, as parameters, the type of container and the machine features required for loading\r
71 a given component.\r
72 </p>\r
73 <p>The Life Cycle service then returns a CORBA reference of a launched container.</p>\r
74 <p>Containers are launched on demand depending on components to be loaded. The Life Cycle service manages  loading of containers.</p>\r
75 <p>When there is no launched container matching the request the  Life Cycle service invokes loading of the correct type of container on a correct machine via a rsh type command.</p>\r
76 <p>The Life Cycle service interrogates containers to have information about the dynamic state of the machine (load). It contains (and update) the state of the active containers.</p>\r
77 <p>The Life Cycle service can implement a loading strategy for new containers on new machines, depending on the state of the already launched containers.</p>\r
78 <p>The Life Cycle service can stop containers at the end of session on\r
79 demand.</p>\r
80 \r
81 <p>In SALOME platform the Life Cycle service is implemented in <b>SALOME_Life CycleCORBA</b> class. The API refernce for the methods of this class\r
82 can be found <a href="classSALOME__LifeCycleCORBA.html"> here</a>.</p>\r
83 <i><a href="#cont">Back to the contents</a></i>\r
84 <br>\r
85 \r
86   \r
87 <br>\r
88 \r
89 </body>\r
90 </html>\r