Top Description Methods
org.springframework.beans.factory.wiring

public Interface BeanWiringInfoResolver

Known Direct Implementers
org.springframework.beans.factory.wiring.ClassNameBeanWiringInfoResolver, org.springframework.beans.factory.annotation.AnnotationBeanWiringInfoResolver
Imports
org.springframework.lang.Nullable

Strategy interface to be implemented by objects than can resolve bean name information, given a newly instantiated bean object. Invocations to the resolveWiringInfo 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.

Author
Rod Johnson
Since
2.0
See Also
BeanWiringInfo, ClassNameBeanWiringInfoResolver, org.springframework.beans.factory.annotation.AnnotationBeanWiringInfoResolver

Method Summary

Modifier and TypeMethod and Description
public BeanWiringInfo

Returns:

the BeanWiringInfo, or null if not found
resolveWiringInfo
(Object
the bean instance to resolve info for
beanInstance
)

Resolve the BeanWiringInfo for the given bean instance.

Method Detail

resolveWiringInfoback to summary
public BeanWiringInfo resolveWiringInfo(Object beanInstance)

Resolve the BeanWiringInfo for the given bean instance.

Parameters
beanInstance:Object

the bean instance to resolve info for

Returns:BeanWiringInfo

the BeanWiringInfo, or null if not found

Annotations
@Nullable