org.eclipse.hawkbit.ui.push.EventPushStrategy Java Examples
The following examples show how to use
org.eclipse.hawkbit.ui.push.EventPushStrategy.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AzureUI.java From hawkbit-extensions with Eclipse Public License 1.0 | 5 votes |
@Autowired AzureUI(final EventPushStrategy pushStrategy, final UIEventBus eventBus, final SpringViewProvider viewProvider, final ApplicationContext context, final DashboardMenu dashboardMenu, final ErrorView errorview, final NotificationUnreadButton notificationUnreadButton, final UiProperties uiProperties, final VaadinMessageSource i18n) { super(pushStrategy, eventBus, viewProvider, context, dashboardMenu, errorview, notificationUnreadButton, uiProperties, i18n); }
Example #2
Source File: MyUI.java From hawkbit-examples with Eclipse Public License 1.0 | 5 votes |
@Autowired MyUI(final EventPushStrategy pushStrategy, final UIEventBus eventBus, final SpringViewProvider viewProvider, final ApplicationContext context, final DashboardMenu dashboardMenu, final ErrorView errorview, final NotificationUnreadButton notificationUnreadButton, final UiProperties uiProperties, final VaadinMessageSource i18n) { super(pushStrategy, eventBus, viewProvider, context, dashboardMenu, errorview, notificationUnreadButton, uiProperties, i18n); }
Example #3
Source File: MyUI.java From hawkbit with Eclipse Public License 1.0 | 5 votes |
@Autowired MyUI(final EventPushStrategy pushStrategy, final UIEventBus eventBus, final SpringViewProvider viewProvider, final ApplicationContext context, final DashboardMenu dashboardMenu, final ErrorView errorview, final NotificationUnreadButton notificationUnreadButton, final UiProperties uiProperties, final VaadinMessageSource i18n) { super(pushStrategy, eventBus, viewProvider, context, dashboardMenu, errorview, notificationUnreadButton, uiProperties, i18n); }
Example #4
Source File: AbstractHawkbitUI.java From hawkbit with Eclipse Public License 1.0 | 5 votes |
protected AbstractHawkbitUI(final EventPushStrategy pushStrategy, final UIEventBus eventBus, final SpringViewProvider viewProvider, final ApplicationContext context, final DashboardMenu dashboardMenu, final ErrorView errorview, final NotificationUnreadButton notificationUnreadButton, final UiProperties uiProperties, final VaadinMessageSource i18n) { this.pushStrategy = pushStrategy; this.eventBus = eventBus; this.viewProvider = viewProvider; this.context = context; this.dashboardMenu = dashboardMenu; this.errorview = errorview; this.notificationUnreadButton = notificationUnreadButton; this.uiProperties = uiProperties; this.i18n = i18n; }
Example #5
Source File: MgmtUiAutoConfiguration.java From hawkbit with Eclipse Public License 1.0 | 3 votes |
/** * The UI scoped event push strategy. Session scope is necessary, that every * UI has an own strategy. * * @param applicationContext * the context to add the listener to * @param executorService * the general scheduler service * @param eventBus * the ui event bus * @param eventProvider * the event provider * @param uiProperties * the ui properties * @return the push strategy bean */ @Bean @ConditionalOnMissingBean @UIScope EventPushStrategy eventPushStrategy(final ConfigurableApplicationContext applicationContext, final ScheduledExecutorService executorService, final UIEventBus eventBus, final UIEventProvider eventProvider, final UiProperties uiProperties) { final DelayedEventBusPushStrategy delayedEventBusPushStrategy = new DelayedEventBusPushStrategy(executorService, eventBus, eventProvider, uiProperties.getEvent().getPush().getDelay()); applicationContext.addApplicationListener(delayedEventBusPushStrategy); return delayedEventBusPushStrategy; }