Class SentinelDataSourceHandler

java.lang.Object
com.alibaba.cloud.sentinel.custom.SentinelDataSourceHandler
All Implemented Interfaces:
org.springframework.beans.factory.SmartInitializingSingleton

public class SentinelDataSourceHandler extends Object implements org.springframework.beans.factory.SmartInitializingSingleton
Sentinel ReadableDataSource Handler Handle the configurations of 'spring.cloud.sentinel.datasource'.
Author:
Jim
See Also:
  • Constructor Details

    • SentinelDataSourceHandler

      public SentinelDataSourceHandler(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory, SentinelProperties sentinelProperties, org.springframework.core.env.Environment env)
  • Method Details

    • afterSingletonsInstantiated

      public void afterSingletonsInstantiated()
      Specified by:
      afterSingletonsInstantiated in interface org.springframework.beans.factory.SmartInitializingSingleton
    • parseBeanDefinition

      protected org.springframework.beans.factory.support.BeanDefinitionBuilder parseBeanDefinition(AbstractDataSourceProperties dataSourceProperties, String dataSourceName)