protected static class DefaultApplicationConfigurationFactory.ApplicationConfigurationImpl extends AbstractPropertyConfiguration implements ApplicationConfiguration
| Modifier | Constructor and Description |
|---|---|
protected |
ApplicationConfigurationImpl(VaadinContext context,
FallbackChunk fallbackChunk,
Map<String,String> properties) |
| Modifier and Type | Method and Description |
|---|---|
VaadinContext |
getContext()
The context which the configuration is based on.
|
FallbackChunk |
getFallbackChunk()
Gets a fallback chunk for the application or
null if it's not
available. |
Enumeration<String> |
getPropertyNames()
Returns the names of the configuration properties as an
Enumeration, or an empty Enumeration if there
are o initialization parameters. |
boolean |
isDevModeSessionSerializationEnabled()
Checks if development mode session serialization is enabled or not.
|
boolean |
isProductionMode()
Returns whether Vaadin is in production mode.
|
getApplicationOrSystemProperty, getApplicationProperty, getApplicationProperty, getBooleanProperty, getProperties, getStringProperty, getSystemPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisableAutomaticServletRegistration, getenableDevServer, getBooleanProperty, getBuildFolder, getFlowResourcesFolder, getJavaResourceFolder, getStringProperty, isGlobalPnpm, isPnpmEnabled, isUsageStatisticsEnabled, isXsrfProtectionEnabled, reuseDevServer, useV14Bootstrapprotected ApplicationConfigurationImpl(VaadinContext context, FallbackChunk fallbackChunk, Map<String,String> properties)
public boolean isProductionMode()
AbstractConfigurationisProductionMode in interface AbstractConfigurationpublic Enumeration<String> getPropertyNames()
ApplicationConfigurationEnumeration, or an empty Enumeration if there
are o initialization parameters.getPropertyNames in interface ApplicationConfigurationEnumerationpublic VaadinContext getContext()
ApplicationConfigurationgetContext in interface ApplicationConfigurationpublic FallbackChunk getFallbackChunk()
ApplicationConfigurationnull if it's not
available.getFallbackChunk in interface ApplicationConfigurationnull.public boolean isDevModeSessionSerializationEnabled()
ApplicationConfiguration
Disabling session serialization means all its
UI instances won't be serialized. This
might be needed if one or more UI's are not serializable
and, thus, the whole http session might be discarded, making an
authentication or other sensitive data stored in the session to get lost,
which is not acceptable in most of the cases.
By default session serialization is disabled in development mode.
isDevModeSessionSerializationEnabled in interface ApplicationConfigurationtrue if dev mode session serialization is enabled,
false otherwiseCopyright © 2022. All rights reserved.