Class EarlyStageRemoveBeanPostProcessor
java.lang.Object
org.broadleafcommerce.common.extensibility.context.merge.AbstractRemoveBeanPostProcessor
org.broadleafcommerce.common.extensibility.context.merge.EarlyStageRemoveBeanPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.config.BeanPostProcessor,org.springframework.context.ApplicationContextAware,org.springframework.core.Ordered,org.springframework.core.PriorityOrdered
public class EarlyStageRemoveBeanPostProcessor
extends AbstractRemoveBeanPostProcessor
implements org.springframework.core.PriorityOrdered
Use this merge bean post processor for collection member removal tasks that should take place before the persistence layer is
initialized. This would include removing class transformers for load time weaving, and the like. 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
Modifier and TypeMethodDescriptionintgetOrder()This is the priority order for this post processor and will determine when this processor is run in relation to other priority ordered processors (e.g.voidsetOrder(int order) This is the priority order for this post processor and will determine when this processor is run in relation to other priority ordered processors (e.g.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
-
EarlyStageRemoveBeanPostProcessor
public EarlyStageRemoveBeanPostProcessor()
-
-
Method Details
-
getOrder
public int getOrder()This is the priority order for this post processor and will determine when this processor is run in relation to other priority ordered processors (e.g.CommonAnnotationBeanPostProcessor) The default value if Integer.MIN_VALUE.- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order) This is the priority order for this post processor and will determine when this processor is run in relation to other priority ordered processors (e.g.CommonAnnotationBeanPostProcessor) The default value if Integer.MIN_VALUE.- Parameters:
order- the priority ordering
-