Class WebApplicationProperties

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<Object,​Object>, org.springframework.beans.factory.Aware, org.springframework.web.context.ServletContextAware

    public class WebApplicationProperties
    extends ExpressionBasedProperties
    implements org.springframework.web.context.ServletContextAware
    Composite properties, with the scheme override: default -> build -> environment -> servlet
    See Also:
    Serialized Form
    • Constructor Detail

      • WebApplicationProperties

        public WebApplicationProperties​(String defaultPropertiesName,
                                        String buildPropertiesName,
                                        String environmentPropertiesName)
    • Method Detail

      • setClasspathPackage

        public void setClasspathPackage​(String packageName)
      • setFilesystemFolder

        public void setFilesystemFolder​(String folderName)
      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.ConfigurableEnvironment webAppEnvironment)
      • setServletContext

        public void setServletContext​(javax.servlet.ServletContext servletContext)
        Specified by:
        setServletContext in interface org.springframework.web.context.ServletContextAware
      • envPropertiesIsExists

        public boolean envPropertiesIsExists()
      • servletPropertiesIsExists

        public boolean servletPropertiesIsExists()