You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.

Class DeploymentConfigurationFactory

    • Field Detail

      • FALLBACK_CHUNK

        public static final Object FALLBACK_CHUNK
    • Constructor Detail

      • DeploymentConfigurationFactory

        public DeploymentConfigurationFactory()
    • Method Detail

      • createDeploymentConfiguration

        public DeploymentConfiguration createDeploymentConfiguration​(Class<?> systemPropertyBaseClass,
                                                                     VaadinConfig vaadinConfig)

        Creates a DeploymentConfiguration instance that is filled with all parameters, specified for the current app.

        Parameters:

        systemPropertyBaseClass - the class to look for properties defined with annotations

        vaadinConfig - the config to get the rest of the properties from

        Returns:

        DeploymentConfiguration instance

      • createPropertyDeploymentConfiguration

        public DeploymentConfiguration createPropertyDeploymentConfiguration​(Class<?> systemPropertyBaseClass,
                                                                             VaadinConfig vaadinConfig)

        Creates a DeploymentConfiguration instance that has all parameters, specified for the current app without doing checks so property states and only returns default.

        Parameters:

        systemPropertyBaseClass - the class to look for properties defined with annotations

        vaadinConfig - the config to get the rest of the properties from

        Returns:

        DeploymentConfiguration instance

      • createInitParameters

        protected Properties createInitParameters​(Class<?> systemPropertyBaseClass,
                                                  VaadinConfig vaadinConfig)

        Generate Property containing parameters for with all parameters contained in current application.

        Parameters:

        systemPropertyBaseClass - the class to look for properties defined with annotations

        vaadinConfig - the config to get the rest of the properties from

        Returns:

        Properties instance