Interface LocaleResolver
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
MessageContext
- All Known Implementing Classes:
DefaultLocaleResolver
public interface LocaleResolver extends Serializable
Provides the currentLocale.DeltaSpike provides a default implementation which returns the current system Locale.
An application can provide custom implementation as an @Alternative. This could e.g. examine a JSF View or the Locale of any currently logged in User.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalegetLocale()
-
-
-
Method Detail
-
getLocale
Locale getLocale()
- Returns:
- the current locale
-
-