Class InitParameterServletContextConfigurer
java.lang.Object
org.joinfaces.autoconfigure.servlet.initparams.InitParameterServletContextConfigurer
- All Implemented Interfaces:
ServletContextInitializer
,Ordered
public class InitParameterServletContextConfigurer
extends Object
implements ServletContextInitializer, Ordered
A ServletContextInitializer which looks for all
init parameters
in an ServletContextInitParameterProperties
object by reflection.- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionInitParameterServletContextConfigurer
(List<ServletContextInitParameterProperties> initParameterProperties) -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
void
onStartup
(ServletContext servletContext) void
setOrder
(int order)
-
Constructor Details
-
InitParameterServletContextConfigurer
public InitParameterServletContextConfigurer(List<ServletContextInitParameterProperties> initParameterProperties)
-
-
Method Details
-
onStartup
- Specified by:
onStartup
in interfaceServletContextInitializer
-
getOrder
public int getOrder() -
setOrder
public void setOrder(int order)
-