You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "MLeft (GitHub)" <gi...@apache.org> on 2018/10/18 08:13:59 UTC

[GitHub] [incubator-dubbo] MLeft commented on issue #2651: 使用Java api 提前暴露服务, 导致后续filter 的setter方法未执行

@diecui1202 Thanks for answer. After reading dubbo source code, i found the reason:
1. I export a service in init method, before the ApplicationContext finishing initialization
2. dubbo will init call `ExtensionLoader.getActivateExtension` to create all filters that having @Active annotation, since ApplicationContext not finishing initialization, my filter's setter method will not invoke

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2651 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org