finding out the key used for the call

Nicolae Mihalache <[email protected]> Tue, 28 Jan 2014 16:32:51 +0100
Newsgroups gmane.comp.corba.jacorb.devel
Message-ID <[email protected]>
Hello,

I have a servant that is registered to the ORB using multiple "aliases":
 ((org.jacorb.orb.ORB) orb).addObjectKey("yamcs",
securePersistentPoa.servant_to_reference(sm).toString());
 ((org.jacorb.orb.ORB) orb).addObjectKey("CIS",
securePersistentPoa.servant_to_reference(sm).toString());

The names ("CIS" and "yamcs") are used then in corbaloc style URLs by
external clients.

Is there a way to know in the servant code which name has been used at a
particular call?

I would add more aliases and behave differently depending on which one
is used.


Thanks for any hint,
nicolae

_______________________________________________
jacorb-developer maillist  -  [email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer