public class ApolloDataSourceFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource>
FactoryBean
for creating ApolloDataSource
instance.ApolloDataSource
Constructor and Description |
---|
ApolloDataSourceFactoryBean() |
Modifier and Type | Method and Description |
---|---|
com.alibaba.csp.sentinel.datasource.Converter |
getConverter() |
String |
getDefaultFlowRuleValue() |
String |
getFlowRulesKey() |
String |
getNamespaceName() |
com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setConverter(com.alibaba.csp.sentinel.datasource.Converter converter) |
void |
setDefaultFlowRuleValue(String defaultFlowRuleValue) |
void |
setFlowRulesKey(String flowRulesKey) |
void |
setNamespaceName(String namespaceName) |
public com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource>
Exception
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<com.alibaba.csp.sentinel.datasource.apollo.ApolloDataSource>
public String getNamespaceName()
public void setNamespaceName(String namespaceName)
public String getFlowRulesKey()
public void setFlowRulesKey(String flowRulesKey)
public String getDefaultFlowRuleValue()
public void setDefaultFlowRuleValue(String defaultFlowRuleValue)
public com.alibaba.csp.sentinel.datasource.Converter getConverter()
public void setConverter(com.alibaba.csp.sentinel.datasource.Converter converter)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.