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, getSystemProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disableAutomaticServletRegistration, get
enableDevServer, getBooleanProperty, getBuildFolder, getFlowResourcesFolder, getJavaResourceFolder, getStringProperty, isGlobalPnpm, isPnpmEnabled, isUsageStatisticsEnabled, isXsrfProtectionEnabled, reuseDevServer, useV14Bootstrap
protected ApplicationConfigurationImpl(VaadinContext context, FallbackChunk fallbackChunk, Map<String,String> properties)
public boolean isProductionMode()
AbstractConfiguration
isProductionMode
in interface AbstractConfiguration
public Enumeration<String> getPropertyNames()
ApplicationConfiguration
Enumeration
, or an empty Enumeration
if there
are o initialization parameters.getPropertyNames
in interface ApplicationConfiguration
Enumeration
public VaadinContext getContext()
ApplicationConfiguration
getContext
in interface ApplicationConfiguration
public FallbackChunk getFallbackChunk()
ApplicationConfiguration
null
if it's not
available.getFallbackChunk
in interface ApplicationConfiguration
null
.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 ApplicationConfiguration
true
if dev mode session serialization is enabled,
false
otherwiseCopyright © 2022. All rights reserved.