public class CdiVaadinServletService
extends com.vaadin.flow.server.VaadinServletService
This class creates and initializes a @VaadinServiceEnabled
Instantiator.
Some @VaadinServiceEnabled beans can be used to customize Vaadin,
they are also created, and bound if found.
SystemMessagesProvider is bound to service by
VaadinService.setSystemMessagesProvider(SystemMessagesProvider).
ErrorHandler is bound to created sessions by
VaadinSession.setErrorHandler(ErrorHandler).
CdiVaadinServlet,
Serialized Form| Constructor and Description |
|---|
CdiVaadinServletService(CdiVaadinServlet servlet,
com.vaadin.flow.function.DeploymentConfiguration configuration,
javax.enterprise.inject.spi.BeanManager beanManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
fireUIInitListeners(com.vaadin.flow.component.UI ui) |
CdiVaadinServlet |
getServlet() |
void |
init() |
protected Optional<com.vaadin.flow.di.Instantiator> |
loadInstantiators() |
protected <T> Optional<T> |
lookup(Class<T> type) |
createRequestHandlers, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getPwaRegistry, getResource, getResourceAsStream, getRouteRegistry, getServiceName, getStaticResource, getThemedUrl, requestCanCreateSession, resolveResourceaccessSession, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, addUIInitListener, closeSession, createCriticalNotificationJSON, createInstantiator, createSessionExpiredJSON, createUINotFoundJSON, createVaadinSession, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, getClassLoader, getCurrent, getCurrentRequest, getDependencyFilters, getDeploymentConfiguration, getExistingSession, getHtmlImportDependencyCache, getInstantiator, getRequestHandlers, getRouter, getSessionAttributeName, getSessionLock, getSystemMessages, getSystemMessagesProvider, handleRequest, handleSessionExpired, isAtmosphereAvailable, isCsrfTokenValid, isOtherSessionLocked, isResourceAvailable, isUIActive, loadSession, lockSession, modifyBootstrapPage, readFromHttpSession, reinitializeSession, removeFromHttpSession, removeSession, requestEnd, requestStart, runPendingAccessTasks, setClassLoader, setCurrent, setCurrentInstances, setDefaultClassLoader, setSystemMessagesProvider, storeSession, unlockSession, verifyNoOtherSessionLocked, writeStringResponse, writeToHttpSession, writeUncachedStringResponsepublic CdiVaadinServletService(CdiVaadinServlet servlet, com.vaadin.flow.function.DeploymentConfiguration configuration, javax.enterprise.inject.spi.BeanManager beanManager)
public void init()
throws com.vaadin.flow.server.ServiceException
init in class com.vaadin.flow.server.VaadinServicecom.vaadin.flow.server.ServiceExceptionpublic void fireUIInitListeners(com.vaadin.flow.component.UI ui)
fireUIInitListeners in class com.vaadin.flow.server.VaadinServicepublic CdiVaadinServlet getServlet()
getServlet in class com.vaadin.flow.server.VaadinServletServiceprotected Optional<com.vaadin.flow.di.Instantiator> loadInstantiators() throws com.vaadin.flow.server.ServiceException
loadInstantiators in class com.vaadin.flow.server.VaadinServicecom.vaadin.flow.server.ServiceExceptionCopyright © 2018 Vaadin Ltd. All Rights Reserved.