I think you don't need to do extra work to inject spring bean to filter.

You can
debug com.alibaba.dubbo.config.spring.ConfigTest#testSpringExtensionInject
for more details. And I get the right behavior.




2018-04-19 15:27 GMT+08:00 黄志泉 <[email protected]>:

> Question
>
> Is there any way to inject spring bean into dubbo filter?
>
> Description
>
> I defined the dubbo filter as a spring bean in xml, and I notice that
> there is SpringExtensionFactory in dubbo. But when I running debug,
> com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory#line 45
> return false. This confused me long time.
>
> Hope to receive a reply :-)
>  ​

Reply via email to