Class WebApplicationProperties

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,​java.lang.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​(java.lang.String defaultPropertiesName,
                                        java.lang.String buildPropertiesName,
                                        java.lang.String environmentPropertiesName)
    • Method Detail

      • setClasspathPackage

        public void setClasspathPackage​(java.lang.String packageName)
      • setFilesystemFolder

        public void setFilesystemFolder​(java.lang.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()
      • getFullPropertyValue

        public WebApplicationProperties.PropertyValue getFullPropertyValue​(java.lang.String property)
        Получение значения свойства для все уровней