Package io.jmix.flowui.sys
Class JmixServiceInitListener
java.lang.Object
io.jmix.flowui.sys.JmixServiceInitListener
- All Implemented Interfaces:
com.vaadin.flow.server.VaadinServiceInitListener
,Serializable
,EventListener
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Component("flowui_JmixServiceInitListener")
public class JmixServiceInitListener
extends Object
implements com.vaadin.flow.server.VaadinServiceInitListener, org.springframework.context.ApplicationContextAware
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected ScreenRegistry
protected UiExceptionHandlers
-
Constructor Summary
ConstructorDescriptionJmixServiceInitListener
(UiExceptionHandlers uiExceptionHandlers, ScreenRegistry screenRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
onSessionInitEvent
(com.vaadin.flow.server.SessionInitEvent event) protected void
onUIInitEvent
(com.vaadin.flow.server.UIInitEvent uiInitEvent) protected void
protected void
void
serviceInit
(com.vaadin.flow.server.ServiceInitEvent event) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext)
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
uiExceptionHandlers
-
screenRegistry
-
-
Constructor Details
-
JmixServiceInitListener
public JmixServiceInitListener(UiExceptionHandlers uiExceptionHandlers, ScreenRegistry screenRegistry)
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
serviceInit
public void serviceInit(com.vaadin.flow.server.ServiceInitEvent event) - Specified by:
serviceInit
in interfacecom.vaadin.flow.server.VaadinServiceInitListener
-
onUIInitEvent
protected void onUIInitEvent(com.vaadin.flow.server.UIInitEvent uiInitEvent) -
onSessionInitEvent
protected void onSessionInitEvent(com.vaadin.flow.server.SessionInitEvent event) -
registerScreenRoutes
protected void registerScreenRoutes() -
registerInternalServiceError
protected void registerInternalServiceError()
-