com.vaadin.spring
Class VaadinConfiguration
java.lang.Object
com.vaadin.spring.VaadinConfiguration
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor, org.springframework.context.ApplicationContextAware
@Configuration
public class VaadinConfiguration
- extends Object
- implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
Spring configuration for registering the custom Vaadin scopes, the
view provider and some other stuff.
Instead of using this class directly, it is recommended to add the
EnableVaadin annotation to a configuration class to automatically
import VaadinConfiguration.
- Author:
- Josh Long (josh@joshlong.com), Petter Holmström (petter@vaadin.com), Gert-Jan Timmer (gjr.timmer@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VaadinConfiguration
public VaadinConfiguration()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
postProcessBeanDefinitionRegistry
public void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
throws org.springframework.beans.BeansException
- Specified by:
postProcessBeanDefinitionRegistry in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
- Throws:
org.springframework.beans.BeansException
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
Copyright © 2016 Vaadin Ltd. All Rights Reserved.