StaticMOGroup group =
new StaticMOGroup(root, (VariableBinding[])
subtree.toArray(new VariableBinding[subtree.size()]));
DefaultMOContextScope scope =
new DefaultMOContextScope(ctx,
root, true, root.nextPeer(), false);
ManagedObject mo = server.lookup(new DefaultMOQuery(scope, false));
if (mo != null) {
logger.warn("Could not register snapshot subtree '"+root+
"' with "+subtree+" because ManagedObject "+mo+
" is already registered");