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
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected ScreenRegistryprotected UiExceptionHandlers -
Constructor Summary
ConstructorsConstructorDescriptionJmixServiceInitListener(UiExceptionHandlers uiExceptionHandlers, ScreenRegistry screenRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonSessionInitEvent(com.vaadin.flow.server.SessionInitEvent event) protected voidonUIInitEvent(com.vaadin.flow.server.UIInitEvent uiInitEvent) protected voidprotected voidvoidserviceInit(com.vaadin.flow.server.ServiceInitEvent event) voidsetApplicationContext(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:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
serviceInit
public void serviceInit(com.vaadin.flow.server.ServiceInitEvent event) - Specified by:
serviceInitin 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()
-