The Spring Framework

## Uses of Interface
org.springframework.context.i18n.LocaleContext

Packages that use LocaleContext
org.springframework.context.i18n: Abstraction for determining the current Locale, plus global holder that exposes a thread-bound Locale.
org.springframework.web.portlet: Provides JSR-168 portlets that integrate with the application context infrastructure, and the core interfaces and classes for the Portlet variant of Spring's web MVC framework.
org.springframework.web.servlet: Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.

Uses of LocaleContext in org.springframework.context.i18n

Classes in org.springframework.context.i18n that implement LocaleContext
`class` `SimpleLocaleContext` Simple implementation of the `LocaleContext` interface, always returning a specified `Locale`.

Methods in org.springframework.context.i18n that return LocaleContext
`static LocaleContext` `LocaleContextHolder.getLocaleContext()` Return the LocaleContext associated with the current thread, if any.

Methods in org.springframework.context.i18n with parameters of type LocaleContext
`static void` `LocaleContextHolder.setLocaleContext(LocaleContext localeContext)` Associate the given LocaleContext with the current thread, not exposing it as inheritable for child threads.
`static void` `LocaleContextHolder.setLocaleContext(LocaleContext localeContext, boolean inheritable)` Associate the given LocaleContext with the current thread.

Uses of LocaleContext in org.springframework.web.portlet

Methods in org.springframework.web.portlet that return LocaleContext
`protected LocaleContext` `DispatcherPortlet.buildLocaleContext(javax.portlet.PortletRequest request)` Build a LocaleContext for the given request, exposing the request's primary locale as current locale.

Uses of LocaleContext in org.springframework.web.servlet

Methods in org.springframework.web.servlet that return LocaleContext
`protected LocaleContext` `DispatcherServlet.buildLocaleContext(HttpServletRequest request)` Build a LocaleContext for the given request, exposing the request's primary locale as current locale.

The Spring Framework

Copyright © 2002-2008 The Spring Framework.