Haishi Yao created SCB-1792:
-------------------------------

             Summary: RegistryUtil does not hold ServiceRegistry instances 
directly
                 Key: SCB-1792
                 URL: https://issues.apache.org/jira/browse/SCB-1792
             Project: Apache ServiceComb
          Issue Type: Improvement
          Components: Java-Chassis
    Affects Versions: java-chassis-2.0.1
            Reporter: Haishi Yao
            Assignee: Haishi Yao


Currently RegistryUtils hold ServiceRegistry instances directly, which make it 
stateful.
It's better to create an AggregateServiceRegistry, which is an implementation 
of the interface ServiceRegistry, and hold the multiple ServiceRegistry 
instances. And RegistryUtils only refers to AggregateServiceRegistry.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to