ServiceBean.getSpringContext() is null
when I use ServiceBean.getSpringContext() in filter ,I found the object is null。I use springboot integrated dubbo。 I used to have debug,But it was found that the breakpoint did not come in when springboot started. On the other question, I want to ask what API can get all the registered services thank u。
show your code,please ,let's solve the probem together ~
Please show your code for further diagnosis.
@hengyunabc will check this problem in his hands-on working.
On the other question, I want to ask what API can get all the registered services
Dubbo doesn't support this func at this point, i will file an issue to track.
#1674
Seems can use a static method, ApplicationModel.allProviderModels()
not resolved yet?
not valid any longer, we don't provide static method to get context from ServiceBean. The original impl is incorrect.