public class SpringViewDisplayPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanFactoryAware
SpringViewDisplay annotations on UI
scoped beans or bean classes and registers
SpringViewDisplayRegistrationBean instances for them for
SpringUIProvider.| Constructor and Description |
|---|
SpringViewDisplayPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.beans.factory.support.BeanNameGenerator |
getBeanNameGenerator() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
protected void |
registerSpringViewDisplayBean(Class<?> clazz)
Create a view display registration bean definition to allow accessing
annotated view displays for the current UI scope.
|
protected void |
registerSpringViewDisplayBean(String beanName)
Create a view display registration bean definition to allow accessing
annotated view displays for the current UI scope.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setBeanNameGenerator(org.springframework.beans.factory.support.BeanNameGenerator beanNameGenerator) |
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionprotected void registerSpringViewDisplayBean(Class<?> clazz)
clazz - bean class having the view display annotation, not nullprotected void registerSpringViewDisplayBean(String beanName)
beanName - name of the bean having the view display annotation, not
nullpublic Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwarepublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarepublic org.springframework.beans.factory.support.BeanNameGenerator getBeanNameGenerator()
public void setBeanNameGenerator(org.springframework.beans.factory.support.BeanNameGenerator beanNameGenerator)
Copyright © 2017 Vaadin Ltd. All Rights Reserved.