Class CDIUIProvider

java.lang.Object
com.vaadin.server.UIProvider
com.vaadin.server.DefaultUIProvider
com.vaadin.cdi.CDIUIProvider
All Implemented Interfaces:
Serializable

@ApplicationScoped public class CDIUIProvider extends com.vaadin.server.DefaultUIProvider
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Copied From Vaadin 8.2+.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.ui.UI
    createInstance(com.vaadin.server.UICreateEvent uiCreateEvent)
     
    Class<? extends com.vaadin.ui.UI>
    getUIClass(com.vaadin.server.UIClassSelectionEvent selectionEvent)
     

    Methods inherited from class com.vaadin.server.UIProvider

    getAnnotationFor, getPageTitle, getPushMode, getPushTransport, getTheme, getWidgetset, getWidgetsetInfo, isPreservedOnRefresh

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • UI_ROOT_PATH

      public static final String UI_ROOT_PATH
      Copied From Vaadin 8.2+. Retained since we cannot be sure that this isn't used in other parts of the code (yet).

      Original description reads:
      A request attribute name to store the part of pathInfo that was used to select the UI. Will be used by default Navigator to separate view identifiers from UI. This can be set by custom UI providers.

      See Also:
  • Constructor Details

    • CDIUIProvider

      public CDIUIProvider()
  • Method Details

    • createInstance

      public com.vaadin.ui.UI createInstance(com.vaadin.server.UICreateEvent uiCreateEvent)
      Overrides:
      createInstance in class com.vaadin.server.UIProvider
    • getUIClass

      public Class<? extends com.vaadin.ui.UI> getUIClass(com.vaadin.server.UIClassSelectionEvent selectionEvent)
      Overrides:
      getUIClass in class com.vaadin.server.DefaultUIProvider