Class OSGiUIProvider

  • All Implemented Interfaces:
    Serializable

    public class OSGiUIProvider
    extends com.vaadin.server.UIProvider
    This class is responsible to dispatch any Vaadin UI creation (exposed via ApplicationFactory) accordingly. This was required as a UIProvider should take care of all ui creation, and not just one, which was the case originally, but broke with the Karaf 4.2.2 Upgrade.
    Author:
    mvrueden
    See Also:
    Serialized Form
    • Constructor Detail

      • OSGiUIProvider

        public OSGiUIProvider()
    • Method Detail

      • getUIClass

        public Class<? extends com.vaadin.ui.UI> getUIClass​(com.vaadin.server.UIClassSelectionEvent event)
        Specified by:
        getUIClass in class com.vaadin.server.UIProvider
      • createInstance

        public com.vaadin.ui.UI createInstance​(com.vaadin.server.UICreateEvent event)
        Overrides:
        createInstance in class com.vaadin.server.UIProvider
      • addApplicationFactory

        public void addApplicationFactory​(ApplicationFactory applicationFactory)
      • removeApplicationFactory

        public void removeApplicationFactory​(ApplicationFactory applicationFactory)