Spring Framework ConfigurableListableBeanFactory - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework ConfigurableListableBeanFactory class.

This code example shows how to use the following methods:getBeanDefinition, containsBeanDefinition
	 * @param beanFactory the BeanFactory to check against 
	 * @param beanName the name of the bean to check against 
	 * @return {@code true} to skip the bean; {@code false} to process it 
	protected boolean shouldSkip(ConfigurableListableBeanFactory beanFactory, String beanName) {
		if (beanFactory == null || !beanFactory.containsBeanDefinition(beanName)) {
			return false; 
		BeanDefinition beanDefinition = beanFactory.getBeanDefinition(beanName);
		if (beanDefinition.getFactoryBeanName() != null) {
			return true; 
		Object value = beanDefinition.getAttribute(SKIP_REQUIRED_CHECK_ATTRIBUTE);
		return (value != null && (Boolean.TRUE.equals(value) || Boolean.valueOf(value.toString())));
	 * Is the supplied property required to have a value (that is, to be dependency-injected)? 
	 * <p>This implementation looks for the existence of a 
	 * {@link #setRequiredAnnotationType "required" annotation} 
See Code Examples for Spring Framework ConfigurableListableBeanFactory Methods: