接口 TargetSourceCreator

    • 方法详细资料

      • getTargetSource

        @Nullable
        TargetSource getTargetSource​(Class<?> beanClass,
                                     String beanName)
        Create a special TargetSource for the given bean, if any.
        参数:
        beanClass - the class of the bean to create a TargetSource for
        beanName - the name of the bean
        返回:
        a special TargetSource or null if this TargetSourceCreator isn't interested in the particular bean