1533 |
} |
} |
1534 |
return h; |
return h; |
1535 |
} |
} |
1536 |
|
|
1537 |
/** |
/** |
1538 |
* Recursively searches for the given key in the POA tree. |
* Recursively searches for the given key in the POA tree. |
1539 |
* @param ior_key the key, ecapsulating both object |
* @param ior_key the key, ecapsulating both object |
1612 |
else |
else |
1613 |
return null; |
return null; |
1614 |
} |
} |
1615 |
|
|
1616 |
|
/** |
1617 |
|
* Recursively searches for the given servant in the POA tree. |
1618 |
|
*/ |
1619 |
|
public activeObjectMap.Obj findServant(Servant servant) |
1620 |
|
{ |
1621 |
|
activeObjectMap.Obj h = aom.findServant(servant); |
1622 |
|
if (h != null) |
1623 |
|
return h; |
1624 |
|
else |
1625 |
|
{ |
1626 |
|
for (int i = 0; i < children.size(); i++) |
1627 |
|
{ |
1628 |
|
h = ((gnuPOA) children.get(i)).findServant(servant); |
1629 |
|
if (h != null) |
1630 |
|
return h; |
1631 |
|
} |
1632 |
|
} |
1633 |
|
return h; |
1634 |
|
} |
1635 |
} |
} |