What is the process of Dubbo service exposure?

Alibaba cloud Q & A 2022-02-13 07:58:28 阅读数:350

process dubbo service exposure

Dubbo What is the process of service exposure ?




Take the answer 1:

Dubbo Will be in Spring After instantiation bean after , Publish at the last step of refreshing the container ContextRefreshEvent At the time of the event , The notification is implemented ApplicationListener Of ServiceBean Class to call back onApplicationEvent Event method ,Dubbo It will be called in this method ServiceBean Parent class ServiceConfig Of export Method , And this method really implements the ( Asynchronous or non asynchronous ) Release .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130758262978.html