• Dependency injection can occur in a variety of ways, for example, via a setter method or a class variable.

    依赖性的引入可以多种方式出现例如通过设置属性值方法或者变量

    youdao

  • Take a look at the dependency graph for a typical setup of a component with two dependencies and the method parameters used (see Figure 1).

    请看下图,典型的组件设置依赖关系,其中两个依赖关系使用方法参数(参见1)。

    youdao

  • Architectural metrics (dependency level, fan in, fan out, and ext user) measure the complexity of relationships such as method calls, inheritance, or variable usage.

    架构度量(依赖、聚集、分散外部用户)衡量关系复杂性比如方法调用继承变量使用

    youdao

  • Dependency injection can occur in a variety of ways, such as through a setter method or a class variable.

    依赖项注入可以通过多种方式进行例如通过setter方法变量

    youdao

  • Spring supports three types of dependency injectionsetter, constructor, and method injection — but overall, the prevailing model is setter injection.

    Spring支持依赖注入——setter构造函数方法注入——总的来说流行的模型setter注入。

    youdao

  • Unity is a lightweight, extensible dependency injection container with support for constructor, property, and method call injection.

    Unity一个轻量级可扩展依赖注入容器支持构造函数属性方法调用注入。

    youdao

  • The said annotation is placed above the method that instantiates the bean and sets the dependency.

    上述注释位于实例bean设置依赖项方法上方。

    youdao

  • Using interfaces as method parameters is (in IoC terms) a form of context IoC, applied on a dependency of the caller.

    使用接口作为方法参数上下文IoC一种形式(这是ioc术语),应用于调用程序依赖项

    youdao

  • In both cases you need to declare the dependency (e.g. using the Spring configuration file) and add a corresponding constructor or mutator method to the dependent object class.

    情况下需要声明依赖项(例如使用Spring配置文件),依赖对象添加对应构造函数mutator方法

    youdao

  • Then, you use the marshaller object (which was instantiated by Spring's dependency injection) to invoke the marshal method. This method requires two parameters.

    首先获得一个指向simplebean . xml的对象然后,您使用编组器对象(通过Spring依赖项注入实例化)调用marshal方法

    youdao

  • The dependency methods define the method parameters as interfaces.

    依赖方法方法参数定义成接口。

    youdao

  • The deps dependency task, as defined in Listing 1, includes all of the libraries in my lib directory using the dir class and glob method.

    根据清单1中的定义deps依赖任务使用Dirglob方法包括lib目录中的所有

    youdao

  • This leaves us with other method of dependency injection, called setting injection, which involves creating a public method inside the object for the dependencies that need injection.

    我们留下其他方法进行依赖注入称为设置注入,包含需要注入依赖对象创建一个公共方法。

    youdao

  • First, let's explore why dependency injection is beneficial. Consider the following class and method.

    首先来看看我们为何使用依赖注入,它能带来什么好处。考虑下列代码。

    youdao

  • This paper gives a availability method based on Dependency -matrix that can find all primary attributes and get primary key.

    类问题的子类给出一种通过依赖矩阵求出全部属性方法进而得出主关键字。

    youdao

  • A data recovery method based on fuzzy dependency was proposed to meet the request in real-time application.

    提出一种基于模糊依赖数据恢复方法用以满足实时应用要求

    youdao

  • This paper presents a method for dynamically building dependency models in distributed environments.

    本文提出了一种分布式应用动态构造依赖性模型方法

    youdao

  • Due to complexity of modeling workflow and problems of secure access control, a method that makes a workflow model by setting up task nodes, route nodes and their dependency is brought forward.

    针对工作流建模复杂性模型的安全存取控制问题提出一种通过建立任务节点路由节点及其依赖关系来创建工作流模型方法

    youdao

  • To solve this problem, a component optimization design method based on stability dependency was presented.

    为此,提出一种基于稳定依赖构件优化设计方法

    youdao

  • The method relies on active perturbation to the system to obtain prior knowledge for building the model, and then constructs the dependency model based on the methods of building Bayesian networks.

    这个方法通过系统进行主动干扰获得建模先验知识然后基于贝叶斯网络构造方法分布式应用的组件间关系建立依赖性模型

    youdao

  • In this paper, a method of constructing corresponding dependency graphs is provided according to the alarm correlation relation of network objects.

    为此给出了依据网络对象间告警关联关系构建相应网络依赖方法

    youdao

  • Type 2 or setter injection, in which the dependent module exposes a setter method which the framework USES to inject the dependency.

    类型2设置注入,使用者暴露一个设置器方法框架将使用此方法注入依赖项

    youdao

  • Based on the analysis of the reason and the mechanism of this sequence dependency problem, the paper proposes a sequence independent formular as an improvement for the method.

    本文从理论上分析连环替代法替代顺序依赖性原因提出了一个改进算法。

    youdao

  • In the paper, in order to solve the implication of XML function dependency, a path coding method of DTD is presented, and its characters are analyzed.

    为了有效解决XML函数依赖蕴涵问题,该文提出一种DTD路径编码机制,对性质进行了分析。

    youdao

  • Language model; Long distance dependency; dependency syntax tree; Max entropy method.

    语言模型长距离依赖依存句法最大策略

    youdao

  • In this paper the nature of the join dependency is analyzed. and its causing conditions and processing method are presented.

    剖析连接依赖本质提出产生条件处理方法

    youdao

  • A method for judging the dependency of classifying variable was applied to analyzing factors in typhoon and rainstorm process to broadcast the rainstorm process.

    本文衡量分类变量关联性方法应用于台风暴雨过程因子分析,进而对暴雨过程进行预报。

    youdao

  • A method for judging the dependency of classifying variable was applied to analyzing factors in typhoon and rainstorm process to broadcast the rainstorm process.

    本文衡量分类变量关联性方法应用于台风暴雨过程因子分析,进而对暴雨过程进行预报。

    youdao

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

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

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