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 -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetServletContext(jakarta.servlet.ServletContext servletContext)
-
Constructor Details
-
ServletContextAttributesBootstrap
-
-
Method Details
-
setServletContext
public void setServletContext(jakarta.servlet.ServletContext servletContext) - Specified by:
setServletContextin interfaceorg.springframework.web.context.ServletContextAware
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-