Class TransactionSynchronizationManagerAOPPostProcessor

java.lang.Object
com.broadleafcommerce.common.jpa.data.entitymanager.TransactionSynchronizationManagerAOPPostProcessor
All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor

public class TransactionSynchronizationManagerAOPPostProcessor extends Object implements org.springframework.boot.env.EnvironmentPostProcessor
Immediately after environment processing, but before Spring bean realization, redefine Spring's TransactionSynchronizationManager for AOP around advice and customizations. The AOP behavior can be turned on using the broadleaf.jpa.transaction-synchronization-manager.aop.active property. The behavior is disabled (false) by default.
  • Constructor Details

    • TransactionSynchronizationManagerAOPPostProcessor

      public TransactionSynchronizationManagerAOPPostProcessor()
  • 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