LOGGER.error("can't create '" + creatorName + "', the default one will be used: " + defaultCreator, e);
}
}
if (defaultCreator instanceof DefaultDataSourceCreator && willBeProxied) {
// this one is proxiable, not the default one (legacy)
return new DbcpDataSourceCreator();
}
return defaultCreator;
}