Class VaadinSpringComponentFactory

java.lang.Object
com.vaadin.ui.declarative.Design.DefaultComponentFactory
com.vaadin.spring.internal.VaadinSpringComponentFactory
All Implemented Interfaces:
com.vaadin.ui.declarative.Design.ComponentFactory, Serializable, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class VaadinSpringComponentFactory extends com.vaadin.ui.declarative.Design.DefaultComponentFactory implements org.springframework.context.ApplicationContextAware
A component factory for Vaadin design files, capable of creating Spring beans.
See Also:
  • Constructor Details

    • VaadinSpringComponentFactory

      public VaadinSpringComponentFactory()
  • Method Details

    • 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
    • createComponent

      public com.vaadin.ui.Component createComponent(String fullyQualifiedClassName, com.vaadin.ui.declarative.DesignContext context)
      Specified by:
      createComponent in interface com.vaadin.ui.declarative.Design.ComponentFactory
      Overrides:
      createComponent in class com.vaadin.ui.declarative.Design.DefaultComponentFactory