Welcome![Sign In][Sign Up]
Location:
Search - java abstract facto

Search list

[JSP/Javaabstract_factory

Description: java设计模式,abstract_factory模式-java design patterns, abstract_factory mode
Platform: | Size: 10240 | Author: edith000 | Hits:

[JSPJava_Factory

Description: 工厂方法模式的意义是定义一个创建产品对象的工厂接口,将实际创建工作推迟到子类当中。核心工厂类不再负责产品的创建,这样核心类成为一个抽象工厂角色,仅负责具体工厂子类必须实现的接口,这样进一步抽象化的好处是使得工厂方法模式可以使系统在不修改具体工厂角色的情况下引进新的产品。-Factory Method Pattern is the meaning of the definition of a factory object to create products that interface, will be postponed until the actual creation of sub-class of them. Core factory class is no longer responsible for the creation of products, so that category has become the core role of an abstract factory, the factory is responsible only for the specific sub-class must implement the interface, so that the benefits of further abstract factory method is to make the system can be modified without a specific role in plant circumstances the introduction of new products.
Platform: | Size: 9216 | Author: 赵云峰 | Hits:

CodeBus www.codebus.net