go top

构造注入

网络释义

  Constructor injection

构造注入(Constructor Injection)是指在客户类中,设置一个服务类接口类型的数据成员,并以构造函数为注入点,这个构造函数接受一个具体的服务类实例为参数,并将...

基于124个网页-相关网页

短语

构造器注入 constructor injection

构造函数注入 Constructor Injection

构造子注入 Constructor Injection

构造顶部注入井 crestal injection well

构造方法注入 Constructor injection

 更多收起网络短语

有道翻译

构造注入

Construction injection

以上为机器翻译结果,长、整句建议使用 人工翻译 。

双语例句

  • 例如,假设您想要使用构造函数为calculator bean注入必需的依赖关系(必需的SCA引用)。

    For example, assume you're trying to inject the required dependencies (the required SCA references) for the calculator bean using the constructor.

    youdao

  • 这个行为在DI世界中称作构造函数注入,因为实例是通过一个构造函数传递的。

    This behavior is referred to in the DI world as constructor injection, because the instance is passed through one of the constructors.

    youdao

  • Spring中的构造函数注入允许您通过类构造函数注入依赖关系。

    Constructor injection in Spring lets you inject your dependencies through class constructors.

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定