Class ApolloDataSourceFactoryBean

java.lang.Object
com.alibaba.cloud.sentinel.datasource.factorybean.ApolloDataSourceFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource>

public class ApolloDataSourceFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource>
A FactoryBean for creating ApolloDataSource instance.
Author:
Jim
See Also:
  • ApolloDataSource
  • Constructor Details

    • ApolloDataSourceFactoryBean

      public ApolloDataSourceFactoryBean()
  • Method Details

    • getObject

      public com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource>
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource>
    • getNamespaceName

      public String getNamespaceName()
    • setNamespaceName

      public void setNamespaceName(String namespaceName)
    • getFlowRulesKey

      public String getFlowRulesKey()
    • setFlowRulesKey

      public void setFlowRulesKey(String flowRulesKey)
    • getDefaultFlowRuleValue

      public String getDefaultFlowRuleValue()
    • setDefaultFlowRuleValue

      public void setDefaultFlowRuleValue(String defaultFlowRuleValue)
    • getConverter

      public com.alibaba.csp.sentinel.datasource.Converter getConverter()
    • setConverter

      public void setConverter(com.alibaba.csp.sentinel.datasource.Converter converter)