1 //=============================================================================
3 * @file OC_Endpoint_Selector_Loader.h
5 * Strategies for selecting profile/endpoint from an IOR for making an
8 * @author Phil Mesnier <mesnier_p@ociweb.com>
10 //=============================================================================
12 #ifndef TAO_OC_ENDPOINT_LOADER_H
13 #define TAO_OC_ENDPOINT_LOADER_H
14 #include /**/ "ace/pre.h"
16 #include "tao/Strategies/strategies_export.h"
17 #include "tao/Strategies/OC_Endpoint_Selector_Factory.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 class TAO_Optimized_Connection_Endpoint_Selector
;
28 // ****************************************************************
31 * @class TAO_OC_Endpoint_Selector_Loader
33 * @brief Static initializer used to ensure the Optimized Connector
34 * Endpoint Selector is available for use in static applications
36 * This class is not needed when using dynamic linking and the service
37 * configuratior. Statically linked applications need to include this
38 * header to ensure that all the necessary dependencies are met. In
39 * addition, the svc config directive is required for setting any
40 * initialization parameters for the endpoint selector.
42 class TAO_Strategies_Export TAO_OC_Endpoint_Selector_Loader
49 TAO_Requires_OC_Endpoint_Selector_Loader
=
50 TAO_OC_Endpoint_Selector_Loader::init ();
53 TAO_END_VERSIONED_NAMESPACE_DECL
55 #include /**/ "ace/post.h"
56 #endif /* TAO_OC_ENDPOINT_LOADER_H */