Class CatalogBrowseServiceAutoConfiguration.DynamicCustomerSegmentConfiguration
java.lang.Object
com.broadleafcommerce.catalogbrowse.service.autoconfigure.CatalogBrowseServiceAutoConfiguration.DynamicCustomerSegmentConfiguration
- Enclosing class:
- CatalogBrowseServiceAutoConfiguration
@Configuration
@Import(com.broadleafcommerce.customer.client.autoconfigure.CustomerClientCacheAutoConfiguration.class)
@ConditionalOnPropertyOrGroup(name="broadleaf.catalogbrowse.dynamic-customer-segments.active",
group="broadleaf.dynamic-customer-segments.active",
matchIfMissing=true)
public static class CatalogBrowseServiceAutoConfiguration.DynamicCustomerSegmentConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.customer.client.context.CustomerSegmentContextInfoCustomizer<com.broadleafcommerce.customer.client.domain.CustomerSegment>browseCustomerSegmentContextInfoCustomizer(com.broadleafcommerce.common.extension.data.DataRouteSupporting route, com.broadleafcommerce.customer.client.provider.CustomerSegmentProvider<com.broadleafcommerce.customer.client.domain.CustomerSegment> customerSegmentProvider, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authUtils, com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService ruleEvaluationService, com.broadleafcommerce.common.extension.cache.CacheStateManager cacheStateManager, com.broadleafcommerce.customer.client.context.CustomerSegmentResolutionProperties customerSegmentResolutionProperties) com.broadleafcommerce.customer.client.provider.CustomerSegmentProvider<com.broadleafcommerce.customer.client.domain.CustomerSegment>browseCustomerSegmentProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.customer.client.properties.ExternalCustomerSegmentProviderProperties properties, com.broadleafcommerce.customer.client.provider.external.ExternalProviderUtility externalProviderUtility) com.broadleafcommerce.customer.client.context.CustomerSegmentResolutionPropertiescom.broadleafcommerce.customer.client.provider.external.ExternalProviderUtilitycom.broadleafcommerce.customer.client.properties.ExternalCustomerSegmentProviderProperties
-
Constructor Details
-
DynamicCustomerSegmentConfiguration
public DynamicCustomerSegmentConfiguration()
-
-
Method Details
-
browseExternalProviderUtility
@Bean @ConditionalOnMissingBean public com.broadleafcommerce.customer.client.provider.external.ExternalProviderUtility browseExternalProviderUtility() -
browseExternalSegmentProviderProperties
@Bean(name="browseExternalSegmentProviderProperties") @ConditionalOnMissingBean(name="browseExternalSegmentProviderProperties") @ConfigurationProperties("broadleaf.catalogbrowse.customer-segment-provider") public com.broadleafcommerce.customer.client.properties.ExternalCustomerSegmentProviderProperties browseExternalSegmentProviderProperties() -
browseCustomerSegmentProvider
@Bean(name="browseCustomerSegmentProvider") @ConditionalOnMissingBean(name="browseCustomerSegmentProvider") public com.broadleafcommerce.customer.client.provider.CustomerSegmentProvider<com.broadleafcommerce.customer.client.domain.CustomerSegment> browseCustomerSegmentProvider(@Qualifier("catalogBrowseWebClient") org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, @Qualifier("browseExternalSegmentProviderProperties") com.broadleafcommerce.customer.client.properties.ExternalCustomerSegmentProviderProperties properties, com.broadleafcommerce.customer.client.provider.external.ExternalProviderUtility externalProviderUtility) -
browseCustomerSegmentResolutionProperties
@Bean(name="browseCustomerSegmentResolutionProperties") @ConditionalOnMissingBean(name="browseCustomerSegmentResolutionProperties") @ConfigurationProperties("broadleaf.catalogbrowse.context.customer-segment-customizer") public com.broadleafcommerce.customer.client.context.CustomerSegmentResolutionProperties browseCustomerSegmentResolutionProperties() -
browseCustomerSegmentContextInfoCustomizer
@Order(2147483647) @Bean(name="browseCustomerSegmentContextInfoCustomizer") @ConditionalOnMissingBean(name="browseCustomerSegmentContextInfoCustomizer") public com.broadleafcommerce.customer.client.context.CustomerSegmentContextInfoCustomizer<com.broadleafcommerce.customer.client.domain.CustomerSegment> browseCustomerSegmentContextInfoCustomizer(@Nullable @Qualifier("catalogBrowseSource") com.broadleafcommerce.common.extension.data.DataRouteSupporting route, @Qualifier("browseCustomerSegmentProvider") com.broadleafcommerce.customer.client.provider.CustomerSegmentProvider<com.broadleafcommerce.customer.client.domain.CustomerSegment> customerSegmentProvider, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authUtils, com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService ruleEvaluationService, @Nullable com.broadleafcommerce.common.extension.cache.CacheStateManager cacheStateManager, @Qualifier("browseCustomerSegmentResolutionProperties") com.broadleafcommerce.customer.client.context.CustomerSegmentResolutionProperties customerSegmentResolutionProperties)
-