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
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.alibaba.csp.sentinel.datasource.Convertercom.alibaba.csp.sentinel.datasource.apollo.ApolloDataSourceClass<?>voidsetConverter(com.alibaba.csp.sentinel.datasource.Converter converter) voidsetDefaultFlowRuleValue(String defaultFlowRuleValue) voidsetFlowRulesKey(String flowRulesKey) voidsetNamespaceName(String namespaceName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
ApolloDataSourceFactoryBean
public ApolloDataSourceFactoryBean()
-
-
Method Details
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource>
-
getNamespaceName
-
setNamespaceName
-
getFlowRulesKey
-
setFlowRulesKey
-
getDefaultFlowRuleValue
-
setDefaultFlowRuleValue
-
getConverter
public com.alibaba.csp.sentinel.datasource.Converter getConverter() -
setConverter
public void setConverter(com.alibaba.csp.sentinel.datasource.Converter converter)
-