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

  Modifier and Type
  Method
  Description
  `LocaleProvider`
  `createLocaleProvider()`
  Create a new instance of `LocaleProvider`.

- ## Method Details

  - ### createLocaleProvider

    LocaleProvider createLocaleProvider()
    Create a new instance of `LocaleProvider`.
    Returns:
      the localeProvider.