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, defaultCommandBusSpanFactory, defaultCommandGateway, defaultConfiguration, defaultConfiguration, defaultDeadlineManager, defaultDeadlineManagerSpanFactory, defaultEventBus, defaultEventBusSpanFactory, defaultEventGateway, defaultEventProcessorSpanFactory, defaultHandlerDefinition, defaultParameterResolverFactory, defaultQueryBus, defaultQueryBusSpanFactory, defaultQueryGateway, defaultQueryUpdateEmitter, defaultQueryUpdateEmitterSpanFactory, defaultRepositorySpanFactory, defaultResourceInjector, defaultSagaManagerSpanFactory, defaultScopeAwareProvider, defaultSerializer, defaultSnapshotter, defaultSnapshotterSpanFactory, defaultSpanFactory, defaultUpcasterChain, eventProcessing, getComponents, getConfig, invokeInitHandlers, invokeShutdownHandlers, invokeStartHandlers, jpaConfiguration, jpaConfiguration, onShutdown, onStart, prepareMessageHandlerRegistrars, prepareModules, registerCommandHandler, registerComponent, registerEventUpcaster, registerHandlerDefinition, registerHandlerEnhancerDefinition, registerMessageHandler, registerModule, registerQueryHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configureAggregate, configureCommandBus, configureDeadlineManager, configureEventBus, configureEventStore, configureMessageMonitor, configureMessageMonitor, configureQueryBus, configureQueryUpdateEmitter, configureResourceInjector, configureSerializer, configureSnapshotter, configureSpanFactory, configureTags, configureTransactionManager, eventProcessing, onInitialize, registerCommandHandler, registerEventHandler, registerQueryHandler, start
onShutdown, onShutdown, onStart, onStart
public 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)
DefaultConfigurer
type
for given configuration
, or an empty
Optional if no default can be provided.defaultComponent
in class DefaultConfigurer
T
- The type of component.type
- The type of component to find a default for.config
- The configuration the component is configured in.Copyright © 2010–2024. All rights reserved.