I've created a custom Locator and I'm not quite understanding the relationship between what the Locator returns and what the caller actually receives. Specifically, any proxy options I set in the Locator (such as endpointSelection) don't seem to be preserved in the proxy that actually makes it to the caller.
For instance, if my application does something like this:
Code:
pxy = MyPrx.checkedCast(comm.stringToProxy('dummy@Ordered-endpoints'))
my Locator prints the value of the proxy's endpointSelection immediately before returing from findAdapterById and it is correctly set to Ordered. But the resultant proxy of the code above has Random endpointSelection, despite what the Locator had set.
Is this the normal behaviour or am I doing something wrong? If this is the normal behaviour, is there any way that I can force the proxy options to be preserved?