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 AppCookiesprotected CorePropertiesprotected UiExceptionHandlersprotected ViewRegistry -
Constructor Summary
ConstructorsConstructorDescriptionJmixServiceInitListener(ViewRegistry viewRegistry, UiExceptionHandlers uiExceptionHandlers, CoreProperties coreProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected AppCookiesprotected voidinitCookieLocale(com.vaadin.flow.server.VaadinSession session) protected voidonSessionDestroyEvent(com.vaadin.flow.server.SessionDestroyEvent event) protected voidonSessionInitEvent(com.vaadin.flow.server.SessionInitEvent event) protected voidonUIInitEvent(com.vaadin.flow.server.UIInitEvent uiInitEvent) protected voidvoidserviceInit(com.vaadin.flow.server.ServiceInitEvent event) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
viewRegistry
-
uiExceptionHandlers
-
coreProperties
-
cookies
-
-
Constructor Details
-
JmixServiceInitListener
public JmixServiceInitListener(ViewRegistry viewRegistry, UiExceptionHandlers uiExceptionHandlers, CoreProperties coreProperties)
-
-
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) -
onSessionDestroyEvent
protected void onSessionDestroyEvent(com.vaadin.flow.server.SessionDestroyEvent event) -
onSessionInitEvent
protected void onSessionInitEvent(com.vaadin.flow.server.SessionInitEvent event) -
initCookieLocale
protected void initCookieLocale(com.vaadin.flow.server.VaadinSession session) -
registerInternalServiceError
protected void registerInternalServiceError() -
getCookies
-