@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value=EventBusProperties.class) public class EventBusAutoConfiguration extends java.lang.Object
| 构造器和说明 |
|---|
EventBusAutoConfiguration(EventBusProperties eventBusProperties) |
| 限定符和类型 | 方法和说明 |
|---|---|
me.ahoo.eventbus.core.consistency.ConsistencyPublisher |
consistencyPublisher(me.ahoo.eventbus.core.publisher.Publisher publisher,
me.ahoo.eventbus.core.repository.PublishEventRepository publishEventRepository,
org.springframework.transaction.PlatformTransactionManager transactionManager,
me.ahoo.eventbus.core.publisher.EventDescriptorParser eventDescriptorParser) |
me.ahoo.eventbus.core.consistency.ConsistencySubscriberFactory |
consistencySubscriberFactory(me.ahoo.eventbus.core.consistency.ConsistencyPublisher consistencyPublisher,
me.ahoo.eventbus.core.repository.PublishEventRepository publishEventRepository,
me.ahoo.eventbus.core.repository.SubscribeEventRepository subscribeEventRepository,
org.springframework.transaction.PlatformTransactionManager transactionManager,
me.ahoo.eventbus.core.publisher.EventDescriptorParser eventDescriptorParser) |
me.ahoo.eventbus.core.serialize.Deserializer |
deserializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
me.ahoo.eventbus.core.publisher.EventDescriptorParser |
eventDescriptorParser(me.ahoo.eventbus.core.publisher.EventNameGenerator eventNameGenerator) |
me.ahoo.eventbus.core.publisher.EventNameGenerator |
eventNameGenerator() |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
me.ahoo.eventbus.spring.support.PublishAnnotationAspect |
publishAnnotationAspect(me.ahoo.eventbus.core.consistency.ConsistencyPublisher consistencyPublisher) |
me.ahoo.eventbus.core.repository.PublishEventRepository |
publishEventRepository(me.ahoo.eventbus.core.serialize.Serializer serializer,
org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate jdbcTemplate) |
me.ahoo.eventbus.core.serialize.Serializer |
serializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
me.ahoo.eventbus.spring.support.SubscriberLifecycle |
subscribeAnnotationBeanPostProcessor(org.springframework.context.ApplicationContext applicationContext) |
me.ahoo.eventbus.core.repository.SubscribeEventRepository |
subscribeEventRepository(me.ahoo.eventbus.core.serialize.Serializer serializer,
org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate jdbcTemplate) |
me.ahoo.eventbus.core.subscriber.SubscriberNameGenerator |
subscriberNameGenerator() |
me.ahoo.eventbus.core.subscriber.SubscriberScanner |
subscriberScanner(me.ahoo.eventbus.core.subscriber.SubscriberNameGenerator subscriberNameGenerator,
me.ahoo.eventbus.core.publisher.EventDescriptorParser eventDescriptorParser) |
public EventBusAutoConfiguration(EventBusProperties eventBusProperties)
@Bean @ConditionalOnMissingBean public me.ahoo.eventbus.core.publisher.EventNameGenerator eventNameGenerator()
@Bean @ConditionalOnMissingBean public me.ahoo.eventbus.core.subscriber.SubscriberNameGenerator subscriberNameGenerator()
@Bean @ConditionalOnMissingBean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
@Bean @ConditionalOnMissingBean public me.ahoo.eventbus.core.serialize.Serializer serializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@Bean @ConditionalOnMissingBean public me.ahoo.eventbus.core.serialize.Deserializer deserializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@Bean @ConditionalOnMissingBean public me.ahoo.eventbus.core.publisher.EventDescriptorParser eventDescriptorParser(me.ahoo.eventbus.core.publisher.EventNameGenerator eventNameGenerator)
@Bean
@ConditionalOnMissingBean
public me.ahoo.eventbus.core.subscriber.SubscriberScanner subscriberScanner(me.ahoo.eventbus.core.subscriber.SubscriberNameGenerator subscriberNameGenerator,
me.ahoo.eventbus.core.publisher.EventDescriptorParser eventDescriptorParser)
@Bean
@ConditionalOnMissingBean
public me.ahoo.eventbus.core.repository.PublishEventRepository publishEventRepository(me.ahoo.eventbus.core.serialize.Serializer serializer,
org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate jdbcTemplate)
@Bean @ConditionalOnMissingBean public me.ahoo.eventbus.spring.support.PublishAnnotationAspect publishAnnotationAspect(me.ahoo.eventbus.core.consistency.ConsistencyPublisher consistencyPublisher)
@Bean @ConditionalOnMissingBean public me.ahoo.eventbus.spring.support.SubscriberLifecycle subscribeAnnotationBeanPostProcessor(org.springframework.context.ApplicationContext applicationContext)
@Bean
@ConditionalOnMissingBean
public me.ahoo.eventbus.core.repository.SubscribeEventRepository subscribeEventRepository(me.ahoo.eventbus.core.serialize.Serializer serializer,
org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate jdbcTemplate)
@Bean
@ConditionalOnMissingBean
public me.ahoo.eventbus.core.consistency.ConsistencyPublisher consistencyPublisher(me.ahoo.eventbus.core.publisher.Publisher publisher,
me.ahoo.eventbus.core.repository.PublishEventRepository publishEventRepository,
org.springframework.transaction.PlatformTransactionManager transactionManager,
me.ahoo.eventbus.core.publisher.EventDescriptorParser eventDescriptorParser)
@Bean
@ConditionalOnMissingBean
public me.ahoo.eventbus.core.consistency.ConsistencySubscriberFactory consistencySubscriberFactory(me.ahoo.eventbus.core.consistency.ConsistencyPublisher consistencyPublisher,
me.ahoo.eventbus.core.repository.PublishEventRepository publishEventRepository,
me.ahoo.eventbus.core.repository.SubscribeEventRepository subscribeEventRepository,
org.springframework.transaction.PlatformTransactionManager transactionManager,
me.ahoo.eventbus.core.publisher.EventDescriptorParser eventDescriptorParser)