Sets runtime options wrt to runtime/security and advanced CORBA options.
Examples:
Connect to Naming service on host machine x, plus set some runtime parameters
RuntimeConfiguration rc = new RuntimeConfiguration();
// Set URI of Naming Service. Naming Service is on machine_X, port 6578
rc.SetNamingServiceInitialReference("corbaloc:iiop:1.2@machine_X:6578/SomeNameService");
// Set up Application log, errors only with a name of "mylog"
rc.SetApplicationLog(OrbErrorLevel.ERRORS, "mylog");
// Set up per object connection
rc.SetClientConnectionType(ClientConnectionType.PER_OBJECT);
// Create 50 Server (listening) threads
rc.SetThreadPoolSize(50);
ORB orb = Ics.CORBA._ORB.init(rc);
Set up secure mutually authenticated session to BEA Weblogic
RuntimeConfiguration rc = new RuntimeConfiguration();
// Set URI of Naming Service. Naming Service is on machine_X, port 6578
rc.SetNamingServiceInitialReference("corbaloc:tlsiop:1.2@indigo01:7002/NameService");
// Set connection Type
rc.SetConnnectionType(ConnectionType.TLS);;
// Set mutual authentication
rc.SetMutualAuthentication(true);;
// Set certificate key store to use
rc.SetCertificateKeyStore("MyCustomStore");;
For java users and developers who want a simpler "non CORBA" way of programming look at the J2eeEasyContext class.
Consult user documentation before setting these options!
List of members: RuntimeConfiguration Members.
System.Object
RuntimeConfiguration
Namespace: Ics Namespace
Assembly: Jintegra.Espresso.dll
RuntimeConfiguration Members | Ics.J2EE Namespace