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