@Configuration
public class KafkaClientSelector
extends org.springframework.web.context.support.WebApplicationObjectSupport
implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 限定符和类型 | 字段和说明 |
|---|---|
static org.springframework.beans.factory.BeanFactory |
beanFactory |
| 构造器和说明 |
|---|
KafkaClientSelector() |
| 限定符和类型 | 方法和说明 |
|---|---|
DefaultConsumeDecider |
getDefaultConsumerDecider() |
KafkaClientLifecycle |
getKafkaClientLifecycle(KafkaClientProperties properties,
org.springframework.core.env.Environment environment) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextgetApplicationContext, getMessageSourceAccessor, initApplicationContext, obtainApplicationContext, requiredContextClass, setApplicationContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansException@Bean public KafkaClientLifecycle getKafkaClientLifecycle(KafkaClientProperties properties, org.springframework.core.env.Environment environment)
@Bean public DefaultConsumeDecider getDefaultConsumerDecider()
Copyright © 2022. All rights reserved.