Spring Framework DefaultBeanNameGenerator - 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 DefaultBeanNameGenerator class.

This code example shows how to use the following methods:
/** 
 * 用于生成spring bean名称,可以设置bean需要删除的前缀及后缀 
 * @author badqiu 
 * 
 */ 
public class SmartBeanNameGenerator extends DefaultBeanNameGenerator{
 
	String DEFAULT_REMOVE_SUFFIX = "impl";
	String DEFAULT_REMOVE_PERFIX = "";
	 
	private String removedSuffix = DEFAULT_REMOVE_SUFFIX;
	private String removedPrefix = DEFAULT_REMOVE_PERFIX;
	 
	public void setRemovedSuffix(String removedSuffix) {
		this.removedSuffix = removedSuffix;
	} 
 
	public void setRemovedPrefix(String removedPrefix) {
		this.removedPrefix = removedPrefix;
	} 
5
CodeRank
This code example shows how to use the following methods:
See Code Examples for Spring Framework DefaultBeanNameGenerator Methods: