5 - 6章还探究了一些常见问题例如静态单例反模式以及使用依赖注入的解决方案,并调查了web应用和其它应用的范围。
They also explore problems with common idioms such as the static singleton anti-pattern and solutions using dependency injection, and examine scopes for web applications and other purposes.
如果你的团队正设法将现存应用从单件嵌套设计转为依赖注入(DI),但事实证明很困难的话,你会对这篇文章倍感亲切。
You will have an affinity to this article if your team is trying to move an existing application to Dependency Injection (di) from a nest-of-singletons design, but it is proving difficult.
作为一个EJB,该单例可以访问标准的EJB中间件服务集——事务管理、安全、远程、依赖注入等等。
As an EJB, the Singleton has access to the standard set of EJB middleware services - transaction management, security, remoteing, dependency injection and so on.
原先单件套单件重重叠叠的数百个组件,现在变成了轻量级的依赖注入。
It works for situations where there are hundred of components with which started out as a nest of singletons, and are now lightweight Dependency Injection.
结论CT引导经皮腰穿针穿刺注入45%冰醋酸治疗单发或多发肾囊肿,是一种操作简便且安全高效的治疗方法。
Conclusion The treatment CT-guided percutaneous lumbar puncture needle inject 45% glacial acetic acid made cure one or more of renal cyst is of a simple and safe and efficient operation.
实验结果证明,此故障注入方法可以模拟单粒子事件对系统的影响,并能成功对系统注入故障。
The result of the experiments showed that this fault injector based on MCUsystem can simulate the effect of single event upset, and can succeed in fault injection to the system.
单长填砂管实验结果表明液气交替注入完全可以在岩心前端面形成质量较好的细腻泡沫。
Single long sand pack experiment indicated injecting foamer and nitrogen alternately could form fine and smooth foam at front end face of core.
用单载流子器件模拟表明ITO经高频放电处理后降低了器件界面的空穴注入势垒。
Analogy of hole injection barrier indicates that the interface barrier of ITO is lowered after being treated with the high frequency discharge method using hole-only devices.
将辣根过氧化物酶注入单侧肌肉内,在三叉神经运动核尾侧的腹内侧部引起了双侧的标记细胞。
Unilateral injection of horseradish peroxidase into the muscle resulted in bilateral labelling of cell in the ventromedial region of the caudal trigeminal nucleus.
以DF为例,在一台单放电管电激励红外多波段激光器上测试了两种稀释剂注入方式下激光器的输出特性。
Output characteristics were tested under two diluent injecting methods on a single tube discharge excited infrared multi-band chemical laser by taking DF as a typical case.
通过单岩心和并联岩心实验对凝胶体系的注入性能、封堵性能和驱油效果进行了评价;
The injectivity, plugging performance and sweep efficiency of the gel system is evaluated through single and parallel core experiments.
观察并探讨硬脂酸纳米吗啡(SLN-M)单次注入大鼠硬膜外腔后的镇痛效应及用药后的药代动力学特点。
To observe the analgesic effect and lumbar cerebrospinal fluid and serum kinetics of single dose solid lipid nanoparticles morphine(SLN-M) after epidural administration in rats.
开发过程中普遍存在注水井长期注入压力居高不下、注入量低、单井注入压力差异大等问题。
It universally exists that injected pressure is high in a long time, injected water volume is low, the difference of injected pressure of each well is very large during oilfield development.
随着储气运行周期的增加,注入的干气使地层流体逐渐轻化,单井产气能力将逐渐提高;
With the period of gas storage working, the injected dry gas would lighten theformation fluid step by step, as a result, the production capacity of single well would increasing gradually.
可用于单离子注入,离子束混合,单离子或反应离子束溅射淀积以及离子束增强淀积。
It can be used for single ion implantation, ion beam mixing, single ion or reactive ion beam sputter-deposition and ion beam enhanced deposition.
针对多元复合缓速酸提出了单阶段酸化工艺,该工艺使传统的多段注入工艺简化为一段注入,简化了施工步骤,节省了施工费用。
This paper brings about the single stage treatment, which replaces multistage treatment, so it can simplify treatment processes, and save treatment expenditure.
针对多元复合缓速酸提出了单阶段酸化工艺,该工艺使传统的多段注入工艺简化为一段注入,简化了施工步骤,节省了施工费用。
This paper brings about the single stage treatment, which replaces multistage treatment, so it can simplify treatment processes, and save treatment expenditure.
应用推荐