Package com.broadleafcommerce.common.extension.environment
package com.broadleafcommerce.common.extension.environment
-
ClassDescriptionFactory class for creating new proxies for
ConfigurationProperties
annotated classes.BeanPostProcessor that identifies components annotated withConfigurationProperties
and sets up a proxy that circumvents the default property handling in favor of dynamic retrieval from the Spring environment.Studies the method call on aConfigurationProperties
annotated bean to determine if it should be evaluated for tenant related discrimination.Finds a discriminated property in the environment for the given basic key, if available.Thread local context for holding any tenant related information for the current request.Beans declaring this interface as a return type supply regex pattern expressions that, when matched, cause aConfigurationProperties
annotated bean to be excluded for proxy handling byDiscriminatedConfigurationPropertiesBeanPostProcessor
.Pulls tenant related information from the request context, if applicable and supplies it as thread local viaDiscriminatedPropertyContext
.Beans declaring this interface as a return type supply regex pattern expressions that, when matched, cause aConfigurationProperties
annotated bean to be included for proxy handling byDiscriminatedConfigurationPropertiesBeanPostProcessor
.Proxies created viaConfigurationPropertiesProxyFactory
implement this interface to provide additional utility functions that aid proxy call processing.