com.opensymphony.xwork2

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `LocaleProvider` | `createLocaleProvider()` Create a new instance of `LocaleProvider`.

- - ### Method Detail

    - #### createLocaleProvider

          LocaleProvider createLocaleProvider()

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

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.