Class OSGiUIProvider
- java.lang.Object
-
- com.vaadin.server.UIProvider
-
- org.opennms.vaadin.extender.internal.servlet.OSGiUIProvider
-
- All Implemented Interfaces:
Serializable
public class OSGiUIProvider extends com.vaadin.server.UIProvider
This class is responsible to dispatch any Vaadin UI creation (exposed viaApplicationFactory
) accordingly. This was required as aUIProvider
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 Summary
Constructors Constructor Description OSGiUIProvider()
OSGiUIProvider(ApplicationFactory applicationFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addApplicationFactory(ApplicationFactory applicationFactory)
com.vaadin.ui.UI
createInstance(com.vaadin.server.UICreateEvent event)
Class<? extends com.vaadin.ui.UI>
getUIClass(com.vaadin.server.UIClassSelectionEvent event)
void
removeApplicationFactory(ApplicationFactory applicationFactory)
-
-
-
Constructor Detail
-
OSGiUIProvider
public OSGiUIProvider()
-
OSGiUIProvider
public OSGiUIProvider(ApplicationFactory applicationFactory)
-
-
Method Detail
-
getUIClass
public Class<? extends com.vaadin.ui.UI> getUIClass(com.vaadin.server.UIClassSelectionEvent event)
- Specified by:
getUIClass
in classcom.vaadin.server.UIProvider
-
createInstance
public com.vaadin.ui.UI createInstance(com.vaadin.server.UICreateEvent event)
- Overrides:
createInstance
in classcom.vaadin.server.UIProvider
-
addApplicationFactory
public void addApplicationFactory(ApplicationFactory applicationFactory)
-
removeApplicationFactory
public void removeApplicationFactory(ApplicationFactory applicationFactory)
-
-