Class LegacyScopeAwareProviderAutoConfiguration
java.lang.Object
org.axonframework.extension.springboot.autoconfig.LegacyScopeAwareProviderAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(ScopeAwareProviderSettings.class)
@EnableConfigurationProperties(LegacyDeadlineProperties.class)
public class LegacyScopeAwareProviderAutoConfiguration
extends Object
Auto-configures the
ScopeAwareProviderSettings of the configuration's ScopeAwareProvider from the
LegacyDeadlineProperties.
The provider itself is registered by the
LegacyScopeAwareProviderConfigurationEnhancer, with and without Spring.
- Since:
- 5.4.0
- Author:
- Jakob Hatzl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscopeAwareProviderSettings(LegacyDeadlineProperties properties) Creates the settings of the configuration'sScopeAwareProvider, unless the application defines them.
-
Constructor Details
-
LegacyScopeAwareProviderAutoConfiguration
public LegacyScopeAwareProviderAutoConfiguration()
-
-
Method Details
-
scopeAwareProviderSettings
@Bean @ConditionalOnMissingBean public ScopeAwareProviderSettings scopeAwareProviderSettings(LegacyDeadlineProperties properties) Creates the settings of the configuration'sScopeAwareProvider, unless the application defines them.- Parameters:
properties- the deadline properties holding the provider's readiness timeout- Returns:
- the settings of the configuration's
ScopeAwareProvider
-