| 1. | Factory method : obtain a database connection 工厂方法:获取一个数据库连接 |
| 2. | Refactoring : extract and override factory method 重构:抽取和覆盖工厂方法 |
| 3. | Thus , you now should use the factory method 于是,现在您应该使用工厂方法 |
| 4. | Are constructed using factory methods from 中的工厂方法构造的。 |
| 5. | Method as a factory method for obtaining the aspect instance 方法作为工厂方法,获得观点的实例。 |
| 6. | From factory method to abstract factory 从工厂方法到抽象工厂 |
| 7. | Creation code which is now inside the base class s factory method 创建代码(现在它在基类的工厂方法内部) 。 |
| 8. | Assure that the factory method is accessible to the target object and its subclasses 确保目标对象及其子类可以访问工厂方法。 |
| 9. | One advantage of static factory methods is that , unlike constructors , they have names 静态工厂方法的一个好处是,与构造函数不同,静态工厂方法具有名字。 |
| 10. | This section offers a step - by - step description of the extract and override factory method refactoring 本节将循序渐进地描述“抽取”和“覆盖”工厂方法重构。 |