Package dev.orne.i18n.spring
package dev.orne.i18n.spring
Spring integration for I18N support.
- Since:
- 0.1, 2021-01
-
ClassDescriptionAnnotation for I18N context provider configuration on Spring contexts Java configurations.I18N context provider configuration for Spring.Selector of Spring configuration based on presence of
spring-web
on the classpath.Interface to be implemented by @Configuration
classes annotated with @EnableI18N
that wish to customize theI18nContextProvider
instance used by the applicationImplementation ofI18nContext
that delegatesLocale
handling in SpringLocaleContextHolder
.Implementation ofI18nContextProvider
for Spring contexts.Interface forI18nSpringContextProvider
instance builders.I18nSpringContextProvider.BuilderImpl<T extends I18nSpringContextProvider,B extends I18nSpringContextProvider.BuilderImpl<T, B>> Builder ofI18nSpringContextProvider
instances.Implementation ofI18nResources
based on SpringMessageSource
.I18N context provider configuration for Spring Web.Listener for Spring web contexts that removes the I18N context when the HTTP request has been handled.