org.eclipse.gemini.blueprint.blueprint.container.support.internal.config
Class CycleOrderingProcessor
java.lang.Object
org.eclipse.gemini.blueprint.blueprint.container.support.internal.config.CycleOrderingProcessor
- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered
public class CycleOrderingProcessor
- extends Object
- implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered
Simple processor for sorting out cycles between beans. Inspects the construction relationship between beans to
provide hints to the container. Specifically, it forces the creation of any beans referred inside the construction
through the 'depends-on' attribute on the inspected bean.
- Author:
- Costin Leau
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYNTHETIC_DEPENDS_ON
public static final String SYNTHETIC_DEPENDS_ON
- See Also:
- Constant Field Values
CycleOrderingProcessor
public CycleOrderingProcessor()
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
- Specified by:
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
- Throws:
org.springframework.beans.BeansException
getOrder
public int getOrder()
- Specified by:
getOrder
in interface org.springframework.core.Ordered
Copyright © 2006-2012. All Rights Reserved.