Class DataTrackingCoreAutoConfiguration.MoneyMappingConfigurationSupport
java.lang.Object
com.broadleafcommerce.data.tracking.core.autoconfigure.DataTrackingCoreAutoConfiguration.MoneyMappingConfigurationSupport
- Enclosing class:
- DataTrackingCoreAutoConfiguration
public static class DataTrackingCoreAutoConfiguration.MoneyMappingConfigurationSupport
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Defines the ordering for theDataTrackingCoreAutoConfiguration.MoneyMappingConfiguration.monetaryMappingMember(CurrencyContextProvider)
bean, which will be used by other currency-related beans to define their order relative to this. -
Method Summary
-
Field Details
-
MONETARY_MAPPER_ORDER
public static final int MONETARY_MAPPER_ORDERDefines the ordering for theDataTrackingCoreAutoConfiguration.MoneyMappingConfiguration.monetaryMappingMember(CurrencyContextProvider)
bean, which will be used by other currency-related beans to define their order relative to this.For example, a custom mapper could exist that copies the
CurrencyContext
from a parent object to all members of a collection in that object. This mapper must be ordered after theMonetaryMapperMember
to ensure that the parent object has its currency context set before it is copied to the children. It would add some value to this number to define its own order.- See Also:
-