Class FixedLocaleResolver

All Implemented Interfaces:
LocaleContextResolver, LocaleResolver

public class FixedLocaleResolver extends AbstractLocaleContextResolver
LocaleResolver implementation that always returns a fixed default locale and optionally time zone. Default is the current JVM's default locale.

Note: Does not support setLocale(Context), as the fixed locale and time zone cannot be changed.

Since:
1.1
Author:
Juergen Hoeller
See Also: