Class LateStageRemoveBeanPostProcessor
java.lang.Object
org.broadleafcommerce.common.extensibility.context.merge.AbstractRemoveBeanPostProcessor
org.broadleafcommerce.common.extensibility.context.merge.LateStageRemoveBeanPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.config.BeanPostProcessor,org.springframework.context.ApplicationContextAware,org.springframework.core.Ordered
public class LateStageRemoveBeanPostProcessor
extends AbstractRemoveBeanPostProcessor
implements org.springframework.core.Ordered
Use this merge processor for collection member removal duties that should take place later in the Spring startup lifecycle.
This would include items that should be removed 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
EarlyStageRemoveBeanPostProcessor. See AbstractRemoveBeanPostProcessor for
usage information.- Author:
- Jeff Fischer
- See Also:
-
Field Summary
FieldsFields inherited from class org.broadleafcommerce.common.extensibility.context.merge.AbstractRemoveBeanPostProcessor
applicationContext, beanRef, mapKey, mapKeyRef, targetRefFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.broadleafcommerce.common.extensibility.context.merge.AbstractRemoveBeanPostProcessor
getBeanRef, getMapKey, getMapKeyRef, getTargetRef, postProcessAfterInitialization, postProcessBeforeInitialization, setApplicationContext, setBeanRef, setMapKey, setMapKeyRef, setTargetRef
-
Field Details
-
order
protected int order
-
-
Constructor Details
-
LateStageRemoveBeanPostProcessor
public LateStageRemoveBeanPostProcessor()
-
-
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:
getOrderin interfaceorg.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
-