Class ServletContextAttributesBootstrap
- java.lang.Object
-
- org.craftercms.engine.util.servlet.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 Summary
Constructors Constructor Description ServletContextAttributesBootstrap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
setAttributes(Map<String,Object> attributes)
void
setServletContext(javax.servlet.ServletContext servletContext)
-
-
-
Method Detail
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContext
in interfaceorg.springframework.web.context.ServletContextAware
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
-