Initialization

Name

Initialization -- Initializing Bonobo Activation and its ORB.

Synopsis


#include <bonobo-activation/bonobo-activation.h>


gboolean    bonobo_activation_is_initialized
                                            (void);
CORBA_ORB   bonobo_activation_init          (int argc,
                                             char **argv);
CORBA_ORB   bonobo_activation_orb_get       (void);
CORBA_Object bonobo_activation_name_service_get
                                            (CORBA_Environment *ev);

Description

These functions allow you to initialize Bonobo Activation and the ORB it is using. Initializing Bonobo Activation launches the Bonobo Activation daemon if it is not started.

Details

bonobo_activation_is_initialized ()

gboolean    bonobo_activation_is_initialized
                                            (void);

Tells you whether or not OAF is initialized.


bonobo_activation_init ()

CORBA_ORB   bonobo_activation_init          (int argc,
                                             char **argv);

Initializes bonobo-activation. Should be called before any other call to the library.


bonobo_activation_orb_get ()

CORBA_ORB   bonobo_activation_orb_get       (void);

Returns the ORB used by OAF.


bonobo_activation_name_service_get ()

CORBA_Object bonobo_activation_name_service_get
                                            (CORBA_Environment *ev);

Returns the name server of bonobo-activation. ev can be NULL.