Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://rtm-cs.sinp.msu.ru/manual/mico/doc/node25.html
Дата изменения: Mon Jun 7 21:54:57 1999 Дата индексирования: Mon Oct 1 21:21:35 2012 Кодировка: |
Similar to the ORB initialization described in section 4.1.1 the BOA has 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"); ... }
That way it has access to the applications command line arguments. After
evaluating them the BOA will remove the command line options it knows about
from argv
. As for the ORB you can put BOA specific command line
options into a file called .micorc
in your home directory. Arguments
given on the command line override settings from .micorc
. Here is
a list of command line options the BOA understands:
mico-local-boa
is the only currently
supported BOA identifier.