private void buildBeanFactory(final ServletContext servletConfig, Element root) throws SecurityConfigurationException {
		try {
			// 生成 BeanFactory
			String beanFactoryClass = root.valueOf("./beanfactory");
			BeanFactory beanFactory; // Bean获取接口
			if(null != beanFactoryClass && beanFactoryClass.trim().length() > 0) {
				Class<?> clazz = Class.forName(beanFactoryClass);
				beanFactory = (BeanFactory)clazz.newInstance();
				this.setBeanFactory(beanFactory);
			} else {
				beanFactory = this.buildDefaultBeanFactory();
			}
			beanFactory.init(servletConfig); // init BeanFactory
		} catch (Exception e) {
			throw new SecurityConfigurationException("init config beanfactory fail...", e);
		}
	}