J-Integra® Espresso Programming Documentation (API)

_ORB.init Method

Creates a new ORB instance. It returns a new fully functional ORB object each time it is called.

Ics.CORBA.ORB init(
 Ics.Runtime.RuntimeConfiguration rc,
);
Ics.CORBA.ORB init();

Parameters

rc
RuntimeConfiguration class containing the desired Runtime Parameters of the system. See Ics.Runtime.RuntimeConfiguration for details

Return Value

the newly created ORB instance.

Remarks

Calling init() with no parameters will draw runtime configuration data from the application's app.config file. This allows creation of dynamic code that can be deployed anywhere with just a few simple configuration changes. Refer to product documentation on using the Grinder config tool to set these settings. Use the RuntimeConfiguration class to dynamically change the settings at runtime.

Note: The init(string[] args) style apis are deprecated, but still supported in 1.0. It is recommended that users change to the newer ones, as they may be removed at a future date.

Exceptions

none

See Also

_ORB Class | _ORB Members | | RuntimeConfiguration class | J2EE Easy CORBA | Ics Namespace