Package org.apache.struts2.locale
Interface LocaleProviderFactory
- All Known Implementing Classes:
DefaultLocaleProviderFactory
public interface LocaleProviderFactory
Allows delegate creation of
LocaleProvider
to another implementation provided
by a user. It also allows avoid problems with too many dependencies as LocaleProvider
is implemented by the ActionSupport
which can be defined as a bean in Spring.-
Method Summary
-
Method Details
-
createLocaleProvider
LocaleProvider createLocaleProvider()Create a new instance ofLocaleProvider
.- Returns:
- the localeProvider.
-