Class ServletContextAttributesBootstrap

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.web.context.ServletContextAware

    public class ServletContextAttributesBootstrap
    extends Object
    implements org.springframework.web.context.ServletContextAware, org.springframework.beans.factory.InitializingBean
    A simple class that adds a bunch of attributes passed as a property to the current servlet context.
    Author:
    avasquez
    • Constructor Detail

      • ServletContextAttributesBootstrap

        public ServletContextAttributesBootstrap()
    • Method Detail

      • setServletContext

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

        public void setAttributes​(Map<String,​Object> attributes)
      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean