Better communication requires not only love but also a more suitable way.
更好的沟通不仅需要爱,更需要更合适的方式。
In this case, a dynamic proxy is more suitable because it only needs to be re-instantiated (rather than regenerated as in the case of a static stub) whenever the SEI changes.
既然这样,动态代理会更适合,因为它只需要每次SEI修改时重新实例化(而不像使用静态存根时重建)就行了。
应用推荐