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 Details

    • ChasePaymentDefaultsEnvironmentPostProcessor

      public ChasePaymentDefaultsEnvironmentPostProcessor()
  • Method Details

    • postProcessEnvironment

      public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
      Specified by:
      postProcessEnvironment in interface org.springframework.boot.env.EnvironmentPostProcessor
    • supportsJackson2PreferredMapper

      protected boolean supportsJackson2PreferredMapper()
      Whether the running Spring Boot version supports the jackson2 preferred-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, whose JsonMapper enum has no JACKSON2 constant (Jackson 2 is already the default, so the preferred-json-mapper value is unnecessary and would fail condition evaluation).