public class ClassNameBeanWiringInfoResolver extends java.lang.Object implements BeanWiringInfoResolver
BeanWiringInfoResolver
interface,
looking for a bean with the same name as the fully-qualified class name.
This matches the default name of the bean in a Spring XML file if the
bean tag's "id" attribute is not used.Constructor and Description |
---|
ClassNameBeanWiringInfoResolver() |
Modifier and Type | Method and Description |
---|---|
BeanWiringInfo |
resolveWiringInfo(java.lang.Object beanInstance)
Resolve the BeanWiringInfo for the given bean instance.
|
public BeanWiringInfo resolveWiringInfo(java.lang.Object beanInstance)
BeanWiringInfoResolver
resolveWiringInfo
in interface BeanWiringInfoResolver
beanInstance
- the bean instance to resolve info fornull
if not found