if (initialContext == null) {
// Allocating a new context and binding it to the appropriate
// name
// XXX Should return null, let the caller create something
// Or use a different constructor.
initialContext = new MemoryNamingContext(env);
ContextBindings.bindContext(ICName, initialContext);
}
return initialContext;
} else {
if (ContextBindings.isThreadBound()) {