org.broadleafcommerce.common.extensibility.context.merge
Class LateStageMergeBeanPostProcessor

java.lang.Object
  extended by org.broadleafcommerce.common.extensibility.context.merge.AbstractMergeBeanPostProcessor
      extended by 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:
AbstractMergeBeanPostProcessor

Field Summary
protected  int order
           
 
Fields inherited from class org.broadleafcommerce.common.extensibility.context.merge.AbstractMergeBeanPostProcessor
applicationContext, collectionRef, LOG, placement, position, statusProvider, targetRef
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
LateStageMergeBeanPostProcessor()
           
 
Method Summary
 int getOrder()
          The regular ordering for this post processor in relation to other post processors.
 void setOrder(int order)
          The regular ordering for this post processor in relation to other post processors.
 
Methods inherited from class org.broadleafcommerce.common.extensibility.context.merge.AbstractMergeBeanPostProcessor
getCollectionRef, getPlacement, getPosition, getStatusProvider, getTargetRef, postProcessAfterInitialization, postProcessBeforeInitialization, setApplicationContext, setCollectionRef, setPlacement, setPosition, setStatusProvider, setTargetRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

order

protected int order
Constructor Detail

LateStageMergeBeanPostProcessor

public LateStageMergeBeanPostProcessor()
Method Detail

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


Copyright © 2013. All Rights Reserved.