Class InitParameterServletContextConfigurer
- java.lang.Object
-
- org.joinfaces.autoconfigure.servlet.initparams.InitParameterServletContextConfigurer
-
- All Implemented Interfaces:
org.springframework.boot.web.servlet.ServletContextInitializer
,org.springframework.core.Ordered
public class InitParameterServletContextConfigurer extends Object implements org.springframework.boot.web.servlet.ServletContextInitializer, org.springframework.core.Ordered
A ServletContextInitializer which looks for allinit parameters
in anServletContextInitParameterProperties
object by reflection.- See Also:
ServletContextInitParameter
-
-
Constructor Summary
Constructors Constructor Description InitParameterServletContextConfigurer(List<ServletContextInitParameterProperties> initParameterProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOrder()
void
onStartup(javax.servlet.ServletContext servletContext)
void
setOrder(int order)
-
-
-
Constructor Detail
-
InitParameterServletContextConfigurer
public InitParameterServletContextConfigurer(List<ServletContextInitParameterProperties> initParameterProperties)
-
-
Method Detail
-
onStartup
public void onStartup(javax.servlet.ServletContext servletContext)
- Specified by:
onStartup
in interfaceorg.springframework.boot.web.servlet.ServletContextInitializer
-
getOrder
public int getOrder()
- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order)
-
-