#include "tao/TAO_Internal.h"
#include "tao/TAO_Singleton.h"
#include "tao/default_server.h"
#include "tao/default_client.h"
#include "tao/default_resource.h"
#include "tao/IIOP_Factory.h"
#include "tao/MCAST_Parser.h"
#include "tao/CORBANAME_Parser.h"
#include "tao/CORBALOC_Parser.h"
#include "tao/FILE_Parser.h"
#include "tao/HTTP_Parser.h"
#include "tao/DLL_Parser.h"
#include "tao/ORB_Core.h"
#include "tao/Adapter_Factory.h"
#include "tao/Default_Stub_Factory.h"
#include "tao/Default_Endpoint_Selector_Factory.h"
#include "tao/Default_Thread_Lane_Resources_Manager.h"
#include "tao/Default_Collocation_Resolver.h"
#include "tao/Codeset_Manager_Factory_Base.h"
#include "tao/Codeset_Manager.h"
#include "tao/debug.h"
#include "ace/Dynamic_Service.h"
#include "ace/Arg_Shifter.h"
#include "ace/Argv_Type_Converter.h"
#include "ace/ARGV.h"
#include "ace/Env_Value_T.h"
#include "ace/ACE.h"
#include "ace/OS_NS_stdio.h"
#include "ace/Static_Object_Lock.h"
Defines | |
#define | TAO_DEFAULT_RESOURCE_FACTORY_ARGS 0 |
#define | TAO_DEFAULT_SERVER_STRATEGY_FACTORY_ARGS 0 |
#define | TAO_DEFAULT_CLIENT_STRATEGY_FACTORY_ARGS 0 |
Functions | |
ACE_RCSID (tao, TAO_Internal,"$Id: TAO_Internal.cpp 85771 2009-06-23 20:11:39Z mitza $") namespace |
#define TAO_DEFAULT_CLIENT_STRATEGY_FACTORY_ARGS 0 |
#define TAO_DEFAULT_RESOURCE_FACTORY_ARGS 0 |
#define TAO_DEFAULT_SERVER_STRATEGY_FACTORY_ARGS 0 |
ACE_RCSID | ( | tao | , | |
TAO_Internal | , | |||
"$Id: TAO_Internal.cpp 85771 2009-06-23 20:11:39Z mitza $" | ||||
) |
Parses the supplied command-line arguments to extract any that apply to the process (globally)
Modifies the argc to reflect any arguments it has "consumed"
When multiple ORBs are being configured, the global options are only processed for the first ORB loaded. However subsequent ORBs may be supplied with some of these options, so they need to be eliminated as though they were processed. For this reason, this function is called for every ORB, but only the first call sets apply_values to true
Parses the supplied command-line arguments to extract any that specify a Service Configurator file (-ORBSvcConf). This is done separately, because depending on the context, the configuration file may apply to the process-wide service repository, or to the orb-specific (private) one.
Modifies the argc to reflect any arguments it has "consumed"
Initialize the ACE Service Configurator with the process-global services (available to any ORB).
0
if successful, -1
with errno
set if failure.default_svc_conf_entries()
before calling open_global_services()
. In addition, you can skip_service_config_open altogether, which used to be important when the ORB is linked in via the ACE_Service_Config, since the ACE_Service_Config was non-reentrant. However, the ACE_Service_Config is now reentrant meaning that it is really no longer necessary to do so.Parses the supplied command-line arguments to extract any instance-specific ones.
Modifies the argc to reflect any arguments it has "consumed"
Initialize ORB-local (private) ACE Service Configurator repository.
0
if successful, -1
with errno
set if failure.Number of times open_services() has been called. Incremented by open_global_services_i(), and decremented by close_services().
Part of a condition variable, which helps to ensure non-default ORBs can not proceed with their initialization, until the globaly required services have been instantiated by the default ORB. Usually, the first ORB to be created is designated the default ORB (reference the CORBA spec)