Class ChasePaymentDefaultsEnvironmentPostProcessor
java.lang.Object
com.broadleafcommerce.vendor.chasepayment.autoconfigure.ChasePaymentDefaultsEnvironmentPostProcessor
- All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor
public class ChasePaymentDefaultsEnvironmentPostProcessor
extends Object
implements org.springframework.boot.env.EnvironmentPostProcessor
Initializes the default property overrides for the Chase Payment Integration module
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application) protected booleanWhether the running Spring Boot version supports thejackson2preferred-json-mapper value.
-
Constructor Details
-
ChasePaymentDefaultsEnvironmentPostProcessor
public ChasePaymentDefaultsEnvironmentPostProcessor()
-
-
Method Details
-
postProcessEnvironment
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application) - Specified by:
postProcessEnvironmentin interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-
supportsJackson2PreferredMapper
protected boolean supportsJackson2PreferredMapper()Whether the running Spring Boot version supports thejackson2preferred-json-mapper value. True on Boot 4.x (where Jackson 3 is the default and Jackson 2 must be explicitly preferred); false on Boot 3.5, whoseJsonMapperenum has noJACKSON2constant (Jackson 2 is already the default, so thepreferred-json-mappervalue is unnecessary and would fail condition evaluation).
-