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 AppCookies
protected CoreProperties
protected UiExceptionHandlers
protected ViewRegistry
-
Constructor Summary
ConstructorDescriptionJmixServiceInitListener
(ViewRegistry viewRegistry, UiExceptionHandlers uiExceptionHandlers, CoreProperties coreProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected AppCookies
protected void
initCookieLocale
(com.vaadin.flow.server.VaadinSession session) protected void
onSessionDestroyEvent
(com.vaadin.flow.server.SessionDestroyEvent event) protected void
onSessionInitEvent
(com.vaadin.flow.server.SessionInitEvent event) protected void
onUIInitEvent
(com.vaadin.flow.server.UIInitEvent uiInitEvent) 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 -
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:
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) -
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
-