- java.lang.Object
-
- org.jacpfx.vertx.spring.SpringSingleVerticleConfiguration
-
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor
public class SpringSingleVerticleConfiguration extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
Removes all Spring verticles except the one that has been started. This should avoid missconfigurations because all other spring verticles in the context are not started as a verticle. Each spring verticle creates his own spring context and must be deployed on it's own. Created by Andy Moncsek on 12.03.14.- Author:
- Andy Moncsek
-
-
Constructor Summary
Constructors Constructor Description SpringSingleVerticleConfiguration(Class<?> currentSpringVerticleClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
-
-
Constructor Detail
-
SpringSingleVerticleConfiguration
public SpringSingleVerticleConfiguration(Class<?> currentSpringVerticleClass)
-
-
Method Detail
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException- Specified by:
postProcessBeanFactoryin interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor- Throws:
org.springframework.beans.BeansException
-
-