In this case services definitions are available during consumer development time, and registry usage is limited to the run time resolution of the services endpoint addresses and dynamic binding.
在此情况下,服务定义在使用者开发期间可用,注册中心的使用仅限于服务端点地址和动态绑定的运行时解析。
2
From the AOP standpoint, it's clearly best to keep the aspect information (in this case, binding definitions) outside the code.