org.broadleafcommerce.common.extensibility.context.merge
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:
AbstractMergeBeanPostProcessor
|
Field Summary |
protected int |
order
|
| Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
|
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 |
order
protected int order
LateStageMergeBeanPostProcessor
public LateStageMergeBeanPostProcessor()
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.