null, false);
AgentXNodeQuery query =
new AgentXNodeQuery(entry.getContext(), scope,
AgentXNodeQuery.QUERY_ALL);
MOScope requestScope = searchRange.getReferenceSubRequest().getScope();
MOServer server = getServer(entry.getContext());
for (ManagedObject node = server.lookup(query);
(node instanceof AgentXNode);
node = server.lookup(nextQuery(query, (AgentXNode)node)))
{
AgentXRegEntry activeReg = ((AgentXNode)node).getActiveRegistration();
MOScope region = node.getScope();
if ((activeReg != null) &&
(activeReg.getSession().equals(entry.getSession()))) {