Ghassemi, Omeed
2009-05-20 18:20:00 UTC
Hi,
I have a question about explicit object activation with a child poa.
I am using activate_object() on this poa to activate the servant and
then _this() on the servant to get the object reference.
I understand that using _this() implicity leads to ambiguity with
which poa is being used as it always goes to the root poa.
However, seeing that the servant has been activated with the child
poa, I am assuming this is not an issue. What I don't understand is
how does it know to go to the child poa to find the object details?
Does it search through all the active object maps? Does it even need
to go back to the poa to get the reference? Or is it actually going to
the root poa? If it's the latter then how can it find the object
details?
I basically need to know this as I want to make sure my object will
acting according to the policies in the child poa.
Many thanks in advanceI have a question about explicit object activation with a child poa.
I am using activate_object() on this poa to activate the servant and
then _this() on the servant to get the object reference.
I understand that using _this() implicity leads to ambiguity with
which poa is being used as it always goes to the root poa.
However, seeing that the servant has been activated with the child
poa, I am assuming this is not an issue. What I don't understand is
how does it know to go to the child poa to find the object details?
Does it search through all the active object maps? Does it even need
to go back to the poa to get the reference? Or is it actually going to
the root poa? If it's the latter then how can it find the object
details?
I basically need to know this as I want to make sure my object will
acting according to the policies in the child poa.
Rgds
Omeed
-------------- next part --------------Omeed
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20090520/a7a181a4/attachment.htm