public class AdmincentralServlet
extends com.vaadin.server.VaadinServlet
AdmincentralServlet
is responsible for initializing the root UI context,
for further use of the Magnolia UI Framework within the ResurfaceUI
.
In particular, it creates a new Magnolia ComponentProvider
(i.e. Guice Injector
)
upon servlet init, and makes sure all further Vaadin requests use it.
MagnoliaUiGuiceComponentProviderFactory
,
UiContextReference
,
ResurfaceUI
,
Serialized FormATMOSPHERE_MISSING_ERROR, CANNOT_ACQUIRE_CLASSLOADER_SEVERE, DEFAULT_BUFFER_SIZE, DEFAULT_THEME_CACHETIME, DEFAULT_THEME_NAME, DEFAULT_WIDGETSET, ERROR_NO_UI_FOUND, INVALID_ATMOSPHERE_VERSION_WARNING, INVALID_SECURITY_KEY_MSG, MAX_BUFFER_SIZE, NOT_PRODUCTION_MODE_INFO, PARAMETER_VAADIN_RESOURCES, PARAMETER_WIDGETSET, PORTAL_PARAMETER_VAADIN_RESOURCE_PATH, PORTAL_PARAMETER_VAADIN_THEME, PORTAL_PARAMETER_VAADIN_WIDGETSET, PORTLET_CONTEXT, PUSH_NOT_SUPPORTED_ERROR, REQUIRED_ATMOSPHERE_RUNTIME_VERSION, SERVLET_PARAMETER_CLOSE_IDLE_SESSIONS, SERVLET_PARAMETER_DISABLE_XSRF_PROTECTION, SERVLET_PARAMETER_HEARTBEAT_INTERVAL, SERVLET_PARAMETER_LEGACY_DESIGN_PREFIX, SERVLET_PARAMETER_PRODUCTION_MODE, SERVLET_PARAMETER_PUSH_MODE, SERVLET_PARAMETER_PUSH_SUSPEND_TIMEOUT_LONGPOLLING, SERVLET_PARAMETER_RESOURCE_CACHE_TIME, SERVLET_PARAMETER_SENDURLSASPARAMETERS, SERVLET_PARAMETER_SYNC_ID_CHECK, SERVLET_PARAMETER_UI_PROVIDER, THEME_DIR_PATH, URL_PARAMETER_THEME, WARNING_HEARTBEAT_INTERVAL_NOT_NUMERIC, WARNING_PUSH_MODE_NOT_RECOGNIZED, WARNING_RESOURCE_CACHING_TIME_NOT_NUMERIC, WARNING_XSRF_PROTECTION_DISABLED, WIDGETSET_DIR_PATH, WIDGETSET_MISMATCH_INFO
Constructor and Description |
---|
AdmincentralServlet(info.magnolia.ui.framework.ioc.MagnoliaUiGuiceComponentProviderFactory componentProviderFactory) |
Modifier and Type | Method and Description |
---|---|
protected com.vaadin.server.VaadinServletService |
createServletService(com.vaadin.server.DeploymentConfiguration deploymentConfiguration) |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
servletInitialized() |
allowServePrecompressedResource, createDeploymentConfiguration, createDeploymentConfiguration, createServletService, createVaadinRequest, criticalNotification, destroy, findResourceURL, getApplicationUrl, getCacheTime, getCurrent, getDefaultTheme, getLastPathParameter, getRequestType, getResourcePath, getService, getStaticFilePath, handleContextRootWithoutSlash, init, isAllowedVAADINResourceUrl, isStaticResourceRequest, safeEscapeForHtml, serveStaticResources, serveStaticResourcesInVAADIN, stripSpecialChars, writeStaticResourceResponse
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
@Inject public AdmincentralServlet(info.magnolia.ui.framework.ioc.MagnoliaUiGuiceComponentProviderFactory componentProviderFactory)
protected void servletInitialized() throws javax.servlet.ServletException
servletInitialized
in class com.vaadin.server.VaadinServlet
javax.servlet.ServletException
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
service
in class com.vaadin.server.VaadinServlet
IOException
protected com.vaadin.server.VaadinServletService createServletService(com.vaadin.server.DeploymentConfiguration deploymentConfiguration) throws com.vaadin.server.ServiceException
createServletService
in class com.vaadin.server.VaadinServlet
com.vaadin.server.ServiceException
Copyright © 2018 Magnolia International Ltd.. All rights reserved.