Sorry you are right - I'm reworking a little to log a WARN if no beanFactory.