return beanInstance.getInstance();
} else if (creationalContext != null) {
LockedBean lock = null;
try {
if (multithreaded) {
lock = beanStore.lock(id);
beanInstance = beanStore.getBean(id);
if (beanInstance != null) {
return beanInstance.getInstance();
}
}