[
https://issues.apache.org/jira/browse/SCB-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
liubao closed SCB-1905.
-----------------------
Resolution: Fixed
> Refactor Registry Factory Architecture and Interface
> ----------------------------------------------------
>
> Key: SCB-1905
> URL: https://issues.apache.org/jira/browse/SCB-1905
> Project: Apache ServiceComb
> Issue Type: Task
> Components: Java-Chassis
> Reporter: Jun Gan
> Priority: Major
> Attachments: image-2020-05-14-15-41-33-706.png
>
>
> Currently, the factory design is based on static factory pattern, which
> means, if we have to add new registry mechanism , we need to modify this
> static factory class (i.e. ServiceRegistryFactory.java). This design doesn't
> follow *O*pen/Closed Principle design principal. We should refactor to adopt
> factory method design pattern. i.e. each registry mechanism has its own
> factory classs.
> !image-2020-05-14-15-41-33-706.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)