Class ApplicationDefault

  • All Implemented Interfaces:
    Serializable

    public class ApplicationDefault
    extends LocaleSource

    The ApplicationDefault class is the default locale source class that represents the default locale and attributes used in the application. If in the GDK configuration file, no locale determination rules are defined or if they are defined but not available, this class acts as the default locale source. The default locale source does not need to be explicitly declared, since it is implicitly understood to be the default. Additionally, the default locale value for the ApplicationDefault locale source can be overridden in the GDK configuration via the use of the default attribute of the locale tag. In the example below the default application locale value is begin set to the Chinese locale:

      <application-locales>
          <locale>de-CH</locale>
          <locale>en-US</locale>
          <locale default="yes">zh-CN</locale>
      </application-locales>
     

    All data in this object is filled by the ApplicationContext class during the initialization process. The values cannot be changed until the application is shut down. Default Caching : This locale source is cached in the ApplicationContext by default.

    Since:
    10.1.0.2
    See Also:
    Serialized Form