sandynz opened a new pull request #14640: URL: https://github.com/apache/shardingsphere/pull/14640
Purpose: - Simplify singleton SPI loading - Simplify singleton SPI registration. `SingletonSPIRegistry` will register SPI class automatically, there is not side effect for singleton spi. Changes proposed in this pull request: - Add `SingletonSPI` and `SingletonSPIRegistry` - Refactor `ShardingSphereServiceLoader.getSingletonServiceInstances` to `SingletonSPIRegistry` invocation - Refactor part of `TypedSPIRegistry.getRegisteredService` to `SingletonSPIRegistry` invocation for pipeline modules - `RequiredSPIRegistry.getRegisteredService` support `SingletonSPI`. Just integrate with pipeline modules for now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
