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
33 /// Default constructor
34 Life_Cycle_Service_Server ();
37 ~Life_Cycle_Service_Server ();
39 /// Initialize the Server state - parsing arguments and ...
46 /// Parse the passed parameters.
47 u_int
parse_args (int argc
,
51 /// instance of the ORB Manager
52 TAO_ORB_Manager orb_manager_
;
54 /// Instance of the creation service
55 Life_Cycle_Service_i
*life_Cycle_Service_i_ptr_
;
57 /// reference to the naming service
58 CosNaming::NamingContext_var namingContext_var_
;
60 /// debug level (0 = quiet, 1 = default, informative, 2+ = noisy);
64 #endif /* LIFECYCLE_SERVICE_H */