访问一个带有资源注入的存储过程。
必须对注入的模块上下文调用方法。
我希望能够降低依赖注入的入门难度。
I wanted to lower the "barrier to entry," so to speak, of dependency injection.
用于依赖注入的标准化注解
第二步:按需进行依赖注入的富领域对象。
Step 2: Rich Domain Objects with on-demand dependency injection.
字段必须定义为能接受注入的模块上下文。
A field has to be defined to accept an injected module context.
对于领域对象的依赖注入的新可能性。
The new possibility of Dependency Injection for domain objects.
美联储不断向银行注入的现金也没有被用于放贷。
And the cash the Fed has been pumping into Banks isn't being turned into loans.
这些请求参数注入的配置嵌套在页面动作XML声明中。
The configuration of these request parameter injections are nested within the page action XML declaration.
通过login框注入的代码将有效的查询变成。
The bit of code injected through the Login box turned the valid query into this.
用“ServiceLocator”作为到依赖注入的垫脚石。
'Service Locator' as a stepping stone to Dependency injection.
使用引用模式,可以指定一组合法的可以注入的依赖项类型。
Using a reference pattern, you can specify a family of legal dependency types that can be injected.
现在只需要调用需要这些依赖项并允许容器执行注入的代码。
Now you need merely to call the code that needs those dependencies and allow the container to perform its work.
这样做可以确保Seam在找不到要注入的课程对象时不会发出警报。
Doing so ensures Seam will not complain when it cannot find a course object to inject.
中央银行注入的新鲜货币实际上成功的使货币市场的利率下降。
The injection of fresh cash by central Banks eventually succeeded in pushing money-market rates back down.
或许最令人惊讶的事实是日渐增长的对于测试驱动开发和依赖注入的重视。
Probably the most surprising revelation is the increased emphasis on test driven development and dependency injection.
因为Ioc容器控制着注入的内容,它能注入一个隐藏了需要查找的代理。
Because the IoC container controls what is injected, it can inject a proxy that hides the necessary lookup.
就在一年多前,虚构的资产重组和资金注入的消息挽救了这家公司。
Imaginative shuffling of assets and a capital injection saved the group just over a year ago.
没有任何注入的资金可用,作为一个社区,我们不得不自己想办法。
With no investment money available, we had to figure out our own solutions as a community.
MartinFowler在2003年写了一篇关于依赖注入的权威文章。
Martin Fowler wrote the definitive article on Dependency Injection in 2003.
InfoQ:在你的书中你列出了使用依赖注入的几种最佳实践和模式。
InfoQ: On your book you list several best practices and patterns for using DI.
在今天没有某种依赖注入的库的支持就开始写一个大型应用是难以想象的。
It is already unthinkable to start out writing a large application these days without some kind of DI library support.
这是依赖项注入的基本形式,更完整的形式以Spring这样的框架表示。
This is a rudimentary form of dependency injection, as more fully expressed in frameworks like Spring.
清单3所示的customer类是使用setter注入的类的良好示例。
The customer class shown in Listing 3 is a good example of a class that USES setter injection.
黑客可以用恶意数据请求(比如sql注入的请求)淹没队列,造成这些队列达到最大容量。
Hackers can flood the queues with malicious data requests (such as SQL injected requests), causing these queues to reach their maximum capacity.
当然,bean是由Spring来实例化和注入的,而且可以从Spring服务中受益。
Of course, the bean is instantiated and injected by Spring, and can benefit from Spring services.
整个体系的成本,即美联储通过购买国债注入的资金,不过区区的6000亿美元。
The cost to the system-a measly $600 billion injection of Funds by the Fed.
整个体系的成本,即美联储通过购买国债注入的资金,不过区区的6000亿美元。
The cost to the system-a measly $600 billion injection of Funds by the Fed.
应用推荐