首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 一个简单但功能强大的服务定位器模式的实现,java

一个简单但功能强大的服务定位器模式的实现,java

资 源 简 介

This simple implementation of the service locator pattern has been used extensively in a number of large-scale commercial projects for over three years now. The only public domain project it is used in is the Turn Engine project. What does this API give you? Tiny - only a handful of classes. Simple - access dependencies at any place in your code, no need to pass them around in constructors, setters or even as fields. Singletons - virtually eliminates the need to write singletons Tutorial Downloads Service Locator Pattern - Why Use It? For an overview of the general Service Locator pattern, refer Martin Fowler"s article on inversion of control provides a good summary
VIP VIP
0.224211s