Class UserPrincipalBasedLocaleProviderFactoryImpl

  • All Implemented Interfaces:
    com.anaptecs.jeaf.xfun.api.locale.LocaleProviderFactory

    public class UserPrincipalBasedLocaleProviderFactoryImpl
    extends java.lang.Object
    implements com.anaptecs.jeaf.xfun.api.locale.LocaleProviderFactory
    Class implements factory for a user based locale provider (UserPrincipalBasedLocaleProvider).
    Author:
    JEAF Development Team
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.anaptecs.jeaf.xfun.api.locale.LocaleProvider getLocaleProvider()
      Method returns a locale provider that resolve the locale from the current user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserPrincipalBasedLocaleProviderFactoryImpl

        public UserPrincipalBasedLocaleProviderFactoryImpl()
    • Method Detail

      • getLocaleProvider

        public com.anaptecs.jeaf.xfun.api.locale.LocaleProvider getLocaleProvider()
        Method returns a locale provider that resolve the locale from the current user.
        Specified by:
        getLocaleProvider in interface com.anaptecs.jeaf.xfun.api.locale.LocaleProviderFactory
        Returns:
        LocaleProvider Implementation of locale provider that should be used. The method never returns null.