J-Integra® Espresso Programming Documentation (API)

Object.setObjectKeyAlias Method

This method allows to set an alias string for the object key.

void setObjectKeyAlias(
 string alias
);

Parameters

alias
Alias string for the object key.

Return Value

none

Remarks

The introduction of an alias simplifies the resolution of objects when using corbaloc. Once an object has been activated setObjectKeyAlias can be called upon the object reference. If one assumes, for example, an instance of a servant with the name myServant, the alias MyObject can be set as follows: myServant._this_object().setObjectKeyAlias("MyObject"). A client can access the object via corbaloc:iiop:<host>:<port>/MyObject.

Exceptions

none

See Also

Object Interface | Object Members | Ics Namespace