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

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


The Spring Framework

org.springframework.beans.factory.wiring
Class ClassNameBeanWiringInfoResolver

java.lang.Object
  extended by org.springframework.beans.factory.wiring.ClassNameBeanWiringInfoResolver
All Implemented Interfaces:
BeanWiringInfoResolver

public class ClassNameBeanWiringInfoResolver
extends Object
implements BeanWiringInfoResolver

Simple default implementation, which looks for a bean with the same name as the fully-qualified class name. This is the default name of the bean in a Spring XML file if the id attribute is not used.

Since:
2.0
Author:
Rod Johnson, Juergen Hoeller

Constructor Summary
ClassNameBeanWiringInfoResolver()
           
 
Method Summary
 BeanWiringInfo resolveWiringInfo(Object beanInstance)
          Resolve the BeanWiringInfo for the given bean instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassNameBeanWiringInfoResolver

public ClassNameBeanWiringInfoResolver()
Method Detail

resolveWiringInfo

public BeanWiringInfo resolveWiringInfo(Object beanInstance)
Description copied from interface: BeanWiringInfoResolver
Resolve the BeanWiringInfo for the given bean instance.

Specified by:
resolveWiringInfo in interface BeanWiringInfoResolver
Parameters:
beanInstance - the bean instance to resolve info for
Returns:
the BeanWiringInfo, or null if not found

The Spring Framework

Copyright © 2002-2007 The Spring Framework.