J-Integra® Espresso Programming Documentation (API)

J2eeEasyContext.RegisterObject Method

Registers a remotable object with the specified JNDI name to a CORBA/RMI-IIOP Naming Service

void RegisterObject(
 string jndiNameSystem.Object obj,
);

Parameters

jndiName
The JNDI name to registered the object under.
obj
The remotable object to register. NOTE: Object must be of type Ics.PortableServer.Servant in order to be registered.

Return Value

none

Remarks

This class functions very similarly to a java style InitialContext class. See product documentation for the easy java style APIs.

Note: ALWAYS call J2eeEasyContext.Init before using this method!

Exceptions

Ics.CORBA.BAD_PARAM

See Also

J2EE Config | J2EE Namespace