getEnvironmentType
open fun getEnvironmentType(webApplicationType: WebApplicationType): Class<out ConfigurableEnvironment>
Return the Environment type expected to be set on the created application context. The result of this method can be used to convert an existing environment instance to the correct type.
Return
the expected application context type or null
to use the default
Since
2.6.14
Parameters
webApplicationType
the web application type