3 //=============================================================================
5 * @file Services_Activate.h
7 * This is a generic interface that would be used to activate
8 * the services that are loaded through the svc.conf file
10 * @author Bala Natarajan <bala@cs.wustl.edu>
12 //=============================================================================
14 #ifndef TAO_SERVICES_ACTIVATE_H
15 #define TAO_SERVICES_ACTIVATE_H
17 #include /**/ "ace/pre.h"
18 #include "ace/Service_Object.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "tao/orbconf.h"
25 #include /**/ "tao/TAO_Export.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 class TAO_Service_Callbacks
;
33 * @class TAO_Services_Activate
35 * @brief A class to dynamically load callback implementations in to an
38 * Many services and components of the ORB whose default behaviour
39 * needs to be changed can use this class to activate the Callback
40 * hooks. These hooks can then be called by the ORB at the right
44 class TAO_Export TAO_Services_Activate
: public ACE_Service_Object
48 virtual ~TAO_Services_Activate ();
51 * Create and activate the service callbacks into the orb.
52 * This method cannot throw any exception, but it can return a nil
53 * object to indicate an error condition.
55 virtual TAO_Service_Callbacks
* activate_services (TAO_ORB_Core
*orb
) = 0;
58 TAO_END_VERSIONED_NAMESPACE_DECL
60 #include /**/ "ace/post.h"
62 #endif /*TAO_SERVICES_ACTIVATE_H*/