public class SpringConfigurer extends DefaultConfigurer
Configurer implementation that considers the Spring Application context as a
source for components.| Constructor and Description |
|---|
SpringConfigurer(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Initialize this
Configurer using given beanFactory to locate
components. |
| Modifier and Type | Method and Description |
|---|---|
protected <T> Optional<T> |
defaultComponent(Class<T> type,
Configuration config)
Method returning a default component to use for given
type for given configuration, or an empty
Optional if no default can be provided. |
buildConfiguration, configureAggregate, configureCorrelationDataProviders, configureEmbeddedEventStore, configureEventSerializer, configureLifecyclePhaseTimeout, configureMessageMonitor, configureMessageMonitor, configureMessageMonitor, configureMessageSerializer, defaultCommandBus, defaultCommandGateway, defaultConfiguration, defaultConfiguration, defaultDeadlineManager, defaultEventBus, defaultEventGateway, defaultHandlerDefinition, defaultParameterResolverFactory, defaultQueryBus, defaultQueryGateway, defaultQueryUpdateEmitter, defaultResourceInjector, defaultScopeAwareProvider, defaultSerializer, defaultSnapshotter, defaultSpanFactory, defaultUpcasterChain, eventProcessing, getComponents, getConfig, invokeInitHandlers, invokeShutdownHandlers, invokeStartHandlers, jpaConfiguration, jpaConfiguration, onShutdown, onStart, prepareMessageHandlerRegistrars, prepareModules, registerCommandHandler, registerComponent, registerEventUpcaster, registerHandlerDefinition, registerHandlerEnhancerDefinition, registerMessageHandler, registerModule, registerQueryHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigureAggregate, configureCommandBus, configureDeadlineManager, configureEventBus, configureEventStore, configureMessageMonitor, configureMessageMonitor, configureQueryBus, configureQueryUpdateEmitter, configureResourceInjector, configureSerializer, configureSnapshotter, configureSpanFactory, configureTags, configureTransactionManager, eventProcessing, onInitialize, registerCommandHandler, registerEventHandler, registerQueryHandler, startonShutdown, onShutdown, onStart, onStartpublic SpringConfigurer(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Configurer using given beanFactory to locate
components.beanFactory - The Bean Factory to find components in.protected <T> Optional<T> defaultComponent(Class<T> type, Configuration config)
DefaultConfigurertype for given configuration, or an empty
Optional if no default can be provided.defaultComponent in class DefaultConfigurerT - The type of component.type - The type of component to find a default for.config - The configuration the component is configured in.Copyright © 2010–2023. All rights reserved.