MICO: An Open Source CORBA Implementation

4.3: BOA

4.3 BOA

Note

The Basic Object Adapter (BOA) is responsible for the activation of objects

The Basic Object Adapter (BOA) was the only object adapterspecified by CORBA up to version 2.1 of the specification. Oneof its main features is the ability to activate object implementationswhen their service is requested by a client. This basicallymeans running a program that implements an object. Using theimplementation repository, the BOA decides how an object implementationhas to be activated (i.e., which program has to be runwith which options and which activation policy has to be used forthe implementation).

To fulfill these requirements of the CORBA specification, theBOA is implemented partially by a library (libmico. a)and partially by a separate program ( micod) called the BOA daemon.

4.3.1 BOA initialization

Like the ORB initialization described in Section 4.1.1, the BOAhas to be initialized like this:

int main( int argc, char *argv[] ){   CORBA::ORB_var orb =     CORBA::ORB_init( argc, argv, "mico-local-orb" );   CORBA::BOA_var boa =     orb->BOA_init( argc, argv, "mico-local-boa" );   ...}
Thus, it has access to the application's command line arguments.After evaluating them, the BOA will remove the command lineoptions it knows about from argv. As for the ORB, you can putBOA-specific command line options into a file called .micorc inyour home directory. Arguments given on the command line overridesettings from .micorc. Here is a list of command line optionsthe BOA understands:
  • -OAId

    This option specifies...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Middleware
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.