接口 BeanWiringInfoResolver
public interface BeanWiringInfoResolver
Strategy interface to be implemented by objects than can resolve bean name information, given a newly instantiated bean object. Invocations to theresolveWiringInfo(java.lang.Object)
method on this interface will be driven by the AspectJ pointcut in the relevant concrete aspect.Metadata resolution strategy can be pluggable. A good default is
ClassNameBeanWiringInfoResolver
, which uses the fully-qualified class name as bean name.- 从以下版本开始:
- 2.0
- 作者:
- Rod Johnson
- 另请参阅:
BeanWiringInfo
,ClassNameBeanWiringInfoResolver
,AnnotationBeanWiringInfoResolver
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 BeanWiringInfo
resolveWiringInfo(Object beanInstance)
Resolve the BeanWiringInfo for the given bean instance.
方法详细资料
resolveWiringInfo
@Nullable BeanWiringInfo resolveWiringInfo(Object beanInstance)
Resolve the BeanWiringInfo for the given bean instance.- 参数:
beanInstance
- the bean instance to resolve info for- 返回:
- the BeanWiringInfo, or
null
if not found