// Redirect the request to the bound initial context
return new SelectorContext(environment, true);
} else {
// If the thread is not bound, return a shared writable context
if (initialContext == null)
initialContext = new MemoryNamingContext(environment, MAIN);
return initialContext;
}
}