if ((scopeIsApplication = (scope == Scope.APPLICATION)) ||
((scope == Scope.SESSION))) {
if (scopeIsApplication) {
synchronized (extContext.getContext()) {
try {
bean = managedBean.newInstance(context);
if (LOGGER.isLoggable(Level.FINE)) {
LOGGER.fine(MessageFormat.format("Created application scoped bean {0} successfully ", managedBeanName));
}
} catch (Exception ex) {
Object[] params = {managedBeanName};