Package org.opennms.osgi
Class OnmsVaadinUIFactory
- java.lang.Object
-
- org.opennms.osgi.OnmsVaadinUIFactory
-
- All Implemented Interfaces:
ApplicationFactory
- Direct Known Subclasses:
BusinessServiceAdminPageUIFactory
,NodeMapsApplicationFactory
,SurveillanceViewsConfigUIFactory
,SurveillanceViewsUIFactory
,TopologyUIFactory
,WallboardConfigUIFactory
,WallboardUIFactory
public class OnmsVaadinUIFactory extends Object implements ApplicationFactory
Creates an instance of a Vaadin UI object from the underlying OSGI container. It is necessary that a bean-configuration with a id which matches them_uiBeanId
exists inside the blueprint.xml represented bym_blueprintContainer
.- Author:
- Markus von RĂ¼den
-
-
Constructor Summary
Constructors Constructor Description OnmsVaadinUIFactory(Class<? extends com.vaadin.ui.UI> uiClass, org.osgi.service.blueprint.container.BlueprintContainer blueprintContainer, String uiBeanId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.ui.UI
createUI()
Map<String,String>
getAdditionalHeaders()
Class<? extends com.vaadin.ui.UI>
getUIClass()
-
-
-
Method Detail
-
getAdditionalHeaders
public Map<String,String> getAdditionalHeaders()
- Specified by:
getAdditionalHeaders
in interfaceApplicationFactory
-
createUI
public com.vaadin.ui.UI createUI()
- Specified by:
createUI
in interfaceApplicationFactory
-
getUIClass
public Class<? extends com.vaadin.ui.UI> getUIClass()
- Specified by:
getUIClass
in interfaceApplicationFactory
-
-