阅读背景:

委托的Sould setter是否在界面中?

来源:互联网 

We have lot of object with this kind of design : Interface and several implementations, and use of several object by composition. Exemple : Foo implements IFoo and have a Bar object who implements IBar Foo also have a setBar(IBar bar) method for injection of dependancie. We have lot of object with this kind of design




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: