com.vaadin.spring.internal
Class SpringViewDisplayRegistrationBean

java.lang.Object
  extended by com.vaadin.spring.internal.SpringViewDisplayRegistrationBean

public class SpringViewDisplayRegistrationBean
extends Object

Dynamically registered bean which can provide a reference to the current view display instance.

Author:
Vaadin Ltd
See Also:
SpringViewDisplay, SpringViewDisplayPostProcessor

Constructor Summary
SpringViewDisplayRegistrationBean()
           
 
Method Summary
 Object getSpringViewDisplay(org.springframework.context.ApplicationContext applicationContext)
           
 void setBeanClass(Class<?> beanClass)
          Set the class of the bean that has the view display annotation.
 void setBeanName(String beanName)
          Set the name of the bean that has the view display annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringViewDisplayRegistrationBean

public SpringViewDisplayRegistrationBean()
Method Detail

getSpringViewDisplay

public Object getSpringViewDisplay(org.springframework.context.ApplicationContext applicationContext)

setBeanClass

public void setBeanClass(Class<?> beanClass)
Set the class of the bean that has the view display annotation. Either this method or setBeanName(String) should be called.

Parameters:
beanClass - class of the bean that contains the SpringViewDisplay annotation or has it directly on the class

setBeanName

public void setBeanName(String beanName)
Set the name of the bean that has the view display annotation. Either this method or setBeanClass(Class) should be called.

Parameters:
beanName - name of the bean that has the SpringViewDisplay annotation


Copyright © 2016 Vaadin Ltd. All Rights Reserved.