站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

BeanNameGenerator (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.beans.factory.support
Interface BeanNameGenerator

All Known Implementing Classes:
ComponentBeanNameGenerator, DefaultBeanNameGenerator

public interface BeanNameGenerator

Strategy interface for generating bean names for bean definitions.

Since:
2.0.3
Author:
Juergen Hoeller

Method Summary
 String generateBeanName(BeanDefinition definition, BeanDefinitionRegistry registry)
          Generate a bean name for the given bean definition.
 

Method Detail

generateBeanName

String generateBeanName(BeanDefinition definition,
                        BeanDefinitionRegistry registry)
Generate a bean name for the given bean definition.

Parameters:
definition - the bean definition to generate a name for
registry - the bean definition registry that the given definition is supposed to be registered with
Returns:
the generated bean name

The Spring Framework

Copyright © 2002-2007 The Spring Framework.