Certain components in TAO such as the ORB Core or Object Adapter can be tuned by users by providing value for options or environment variables to them. These options are commonly specified as (1) environment variables or (2) strings passed on the command-line. They are generally passed to component initialization methods for consumption.
Programmer's Note: the internal structure for options is the traditional
argc
/argv
vector of strings style popularized by C and Unix. By convention, an initialization method will consume, i.e., remove from the vector, any options that it recognizes.
Environment Variable Description NameServiceIOR
whichSpecifies which IOR the Naming Service is listening on. NameServicePort
whichSpecifies which port the Naming Service is listening on. TradingServiceIOR
whichSpecifies which IOR the Trading Service is listening on. TradingServicePort
whichSpecifies which port the Trading Service is listening on. TAO_ORB_DEBUG
whichEnables TAO debugging mode.
The following components can be tuned via options:
CORBA::ORB
CORBA::POA
Option Description -OAid
OA IdentifierAssociates OA Identifier with the Object Adapter.
TAO_Resource_Factory
TAO_Default_Server_Strategy_Factory
TAO_Default_Client_Strategy_Factory
Back to the TAO components documentation.