You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/12/22 09:19:44 UTC

[GitHub] [shardingsphere] terrymanu opened a new issue, #23035: Use way of AgentServiceLoader to simplify ShardingSphereServiceLoader

terrymanu opened a new issue, #23035:
URL: https://github.com/apache/shardingsphere/issues/23035

   AgentServiceLoader is the better way to initialize SPI classes. 
   It creates a new AgentServiceLoader singleton for each SPI class.
   
   The advantages are: 
   
   1. Never register SPI manually;
   2. Can remove all SPI factories;
   3. Unit tests can be simplified too.
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] zhaojinchao95 closed issue #23035: Use way of AgentServiceLoader to simplify ShardingSphereServiceLoader

Posted by GitBox <gi...@apache.org>.
zhaojinchao95 closed issue #23035: Use way of AgentServiceLoader to simplify ShardingSphereServiceLoader
URL: https://github.com/apache/shardingsphere/issues/23035


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] strongduanmu commented on issue #23035: Use way of AgentServiceLoader to simplify ShardingSphereServiceLoader

Posted by GitBox <gi...@apache.org>.
strongduanmu commented on issue #23035:
URL: https://github.com/apache/shardingsphere/issues/23035#issuecomment-1363785685

   I like this new way, it can reduce a lot of coding work.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org