step05 day01 learning notes springcloud practice
1. Introduction to springcloud
1.1 INTRODUCTION
spring cloud is a collection of frameworks. Taking advantage of the development convenience of spring boot, it cleverly simplifies the development of distributed system infrastructure, such as service discovery and registration, configuration center, message bus, load balancing, circuit breaker, ...
Posted by lexx on Fri, 10 Sep 2021 20:43:12 +0200
Design mode ----------- factory method mode
1, Definition The Factory Method pattern defines an interface for creating objects and lets subclasses decide which class to instantiate. Factory methods delay instantiation of a class to its subclasses.
2, Usage scenario Based on the simple factory mode, the factory method mode gives the choice of judgment logic to the client, so that the cli ...
Posted by rogair on Wed, 08 Sep 2021 21:21:38 +0200