Object answer = beanFactory.getBean(beanName); if (answer == null) { throw new NoSuchBeanException(beanName, this);
if (beanType == null && beanClassName != null) { beanType = Class.forName(beanClassName, true, getServiceUnit().getConfigurationClassLoader());
    protected Object createBean() {        if (beanName == null) {            throw new IllegalArgumentException("Property 'beanName' has not been set!");        }        Object answer = beanFactory.getBean(beanName);        if (answer == null) {            throw new NoSuchBeanException(beanName, this);        }        return answer;    }