Java Code Examples for org.springframework.beans.factory.support.AbstractBeanDefinition#DEPENDENCY_CHECK_ALL

The following examples show how to use org.springframework.beans.factory.support.AbstractBeanDefinition#DEPENDENCY_CHECK_ALL . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BeanDefinitionParserDelegate.java    From lams with GNU General Public License v2.0 6 votes vote down vote up
public int getDependencyCheck(String attValue) {
	String att = attValue;
	if (DEFAULT_VALUE.equals(att)) {
		att = this.defaults.getDependencyCheck();
	}
	if (DEPENDENCY_CHECK_ALL_ATTRIBUTE_VALUE.equals(att)) {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_ALL;
	}
	else if (DEPENDENCY_CHECK_OBJECTS_ATTRIBUTE_VALUE.equals(att)) {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_OBJECTS;
	}
	else if (DEPENDENCY_CHECK_SIMPLE_ATTRIBUTE_VALUE.equals(att)) {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_SIMPLE;
	}
	else {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_NONE;
	}
}
 
Example 2
Source File: BeanDefinitionParserDelegate.java    From blog_demos with Apache License 2.0 6 votes vote down vote up
public int getDependencyCheck(String attValue) {
	String att = attValue;
	if (DEFAULT_VALUE.equals(att)) {
		att = this.defaults.getDependencyCheck();
	}
	if (DEPENDENCY_CHECK_ALL_ATTRIBUTE_VALUE.equals(att)) {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_ALL;
	}
	else if (DEPENDENCY_CHECK_OBJECTS_ATTRIBUTE_VALUE.equals(att)) {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_OBJECTS;
	}
	else if (DEPENDENCY_CHECK_SIMPLE_ATTRIBUTE_VALUE.equals(att)) {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_SIMPLE;
	}
	else {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_NONE;
	}
}
 
Example 3
Source File: BeanDefinitionParserDelegate.java    From spring4-understanding with Apache License 2.0 6 votes vote down vote up
public int getDependencyCheck(String attValue) {
	String att = attValue;
	if (DEFAULT_VALUE.equals(att)) {
		att = this.defaults.getDependencyCheck();
	}
	if (DEPENDENCY_CHECK_ALL_ATTRIBUTE_VALUE.equals(att)) {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_ALL;
	}
	else if (DEPENDENCY_CHECK_OBJECTS_ATTRIBUTE_VALUE.equals(att)) {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_OBJECTS;
	}
	else if (DEPENDENCY_CHECK_SIMPLE_ATTRIBUTE_VALUE.equals(att)) {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_SIMPLE;
	}
	else {
		return AbstractBeanDefinition.DEPENDENCY_CHECK_NONE;
	}
}