// resolve the rest.
NamingContext context = resolveContext(n[0]);
NameComponent[] subName = extractSubName(n);
// now pass this along to the next context for the real bind operation.
context.rebind_context(subName, nc);
}
else {
NameComponent name = n[0];
// we need the resolveObject() and bindObject() calls to be consistent, so
// synchronize on this