2 //=============================================================================
4 * @file LifeCycle_Service.h
6 * A creation service for objects using the CosLifeCycle GenericFactory.
8 * @author Michael Kircher (mk1@cs.wustl.edu)
10 //=============================================================================
13 #include "ace/Get_Opt.h"
15 #if !defined (ACE_LACKS_PRAGMA_ONCE)
17 #endif /* ACE_LACKS_PRAGMA_ONCE */
19 #include "tao/Utils/ORB_Manager.h"
20 #include "LifeCycle_Service_i.h"
22 #ifndef LIFECYCLE_SERVICE_H
23 #define LIFECYCLE_SERVICE_H
26 * @class Life_Cycle_Service_Server
28 * Server object for the LifeCycle Service
30 class Life_Cycle_Service_Server
34 /// Default constructor
35 Life_Cycle_Service_Server (void);
38 ~Life_Cycle_Service_Server (void);
40 /// Initialize the Server state - parsing arguments and ...
47 /// Parse the passed parameters.
48 u_int
parse_args (int argc
,
52 /// instance of the ORB Manager
53 TAO_ORB_Manager orb_manager_
;
55 /// Instance of the creation service
56 Life_Cycle_Service_i
*life_Cycle_Service_i_ptr_
;
58 /// reference to the naming service
59 CosNaming::NamingContext_var namingContext_var_
;
61 /// debug level (0 = quiet, 1 = default, informative, 2+ = noisy);
65 #endif /* LIFECYCLE_SERVICE_H */