Class LateStageMergeBeanPostProcessor

java.lang.Object
org.broadleafcommerce.common.extensibility.context.merge.AbstractMergeBeanPostProcessor
org.broadleafcommerce.common.extensibility.context.merge.LateStageMergeBeanPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered

public class LateStageMergeBeanPostProcessor extends AbstractMergeBeanPostProcessor implements org.springframework.core.Ordered
Use this merge processor for merging duties that should take place later in the Spring startup lifecycle. This would include items that should be merged after the initialization of the persistence layer, like beans that rely on EntityManager injection in some way. This is the most commonly used merge processor. Less commonly used is the EarlyStageMergeBeanPostProcessor. See AbstractMergeBeanPostProcessor for usage information.
Author:
Jeff Fischer
See Also:
  • Field Details

    • order

      protected int order
  • Constructor Details

    • LateStageMergeBeanPostProcessor

      public LateStageMergeBeanPostProcessor()
  • Method Details

    • getOrder

      public int getOrder()
      The regular ordering for this post processor in relation to other post processors. The default value is Integer.MAX_VALUE.
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)
      The regular ordering for this post processor in relation to other post processors. The default value is Integer.MAX_VALUE.
      Parameters:
      order - the regular ordering