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 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
ConstructorsConstructorDescriptionInitParameterServletContextConfigurer(List<ServletContextInitParameterProperties> initParameterProperties) -
Method Summary
-
Constructor Details
-
InitParameterServletContextConfigurer
public InitParameterServletContextConfigurer(List<ServletContextInitParameterProperties> initParameterProperties)
-
-
Method Details
-
onStartup
public void onStartup(jakarta.servlet.ServletContext servletContext) - Specified by:
onStartupin interfaceorg.springframework.boot.web.servlet.ServletContextInitializer
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order)
-