com.vaadin.flow.server.startup.
Interface ApplicationConfiguration
-
All Superinterfaces:
All Known Implementing Classes:
DefaultApplicationConfigurationFactory.ApplicationConfigurationImpl
public interface ApplicationConfiguration extends AbstractConfiguration
Configuration on the application level.
Configuration is based on
VaadinContext
which provides application level data in contrast toDeploymentConfiguration
which provides aServlet
level configuration.Since:
Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method and Description static ApplicationConfiguration
get(VaadinContext context)
Gets a configuration instance for the given {code context}.
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 emptyEnumeration
if there are o initialization parameters.-
Methods inherited from interface com.vaadin.flow.server.AbstractConfiguration
enableDevServer, getBooleanProperty, getBuildFolder, getFlowResourcesFolder, getStringProperty, isPnpmEnabled, isProductionMode, isXsrfProtectionEnabled, reuseDevServer, useV14Bootstrap
-
-
-
-
Method Detail
-
get
static ApplicationConfiguration get(VaadinContext context)
Gets a configuration instance for the given {code context}.
Parameters:
context
- the context to get the configuration forReturns:
the application level configuration for the given
context
-
getPropertyNames
Enumeration<String> getPropertyNames()
Returns the names of the configuration properties as an
Enumeration
, or an emptyEnumeration
if there are o initialization parameters.Returns:
configuration properties as a
Enumeration
-
getContext
VaadinContext getContext()
The context which the configuration is based on.
Returns:
the vaadin context
-
getFallbackChunk
FallbackChunk getFallbackChunk()
Gets a fallback chunk for the application or
null
if it's not available.Returns:
the application fallback chunk, may be
null
.
-
-