Java Factory

GPTKB entity

Statements (19)
Predicate Object
gptkbp:instanceOf Design Pattern
gptkbp:advantage decoupling code from concrete classes
encapsulation of object creation
gptkbp:alternativeTo direct instantiation with new keyword
gptkbp:category creational design pattern
gptkbp:commonIn enterprise Java applications
gptkbp:definedIn Gang of Four design patterns
gptkbp:example LoggerFactory
ShapeFactory
https://www.w3.org/2000/01/rdf-schema#label Java Factory
gptkbp:pattern object-oriented design
gptkbp:promotion code reusability
loose coupling
gptkbp:purpose object creation
gptkbp:relatedTo Abstract Factory pattern
Factory Method pattern
gptkbp:usedIn gptkb:Java_programming_language
gptkbp:bfsParent gptkb:Java_Factory_Roasters
gptkbp:bfsLayer 7