类 DatabaseDrivenMessageSource

  • 所有已实现的接口:
    org.springframework.context.MessageSource

    public class DatabaseDrivenMessageSource
    extends Object
    implements org.springframework.context.MessageSource
    • 构造器详细资料

      • DatabaseDrivenMessageSource

        public DatabaseDrivenMessageSource​(org.springframework.context.ApplicationContext applicationContext)
    • 方法详细资料

      • getMessage

        public String getMessage​(String code,
                                 Object[] args,
                                 String defaultMessage,
                                 Locale locale)
        指定者:
        getMessage 在接口中 org.springframework.context.MessageSource
      • getMessage

        public String getMessage​(String code,
                                 Object[] args,
                                 Locale locale)
                          throws org.springframework.context.NoSuchMessageException
        指定者:
        getMessage 在接口中 org.springframework.context.MessageSource
        抛出:
        org.springframework.context.NoSuchMessageException
      • getMessage

        public String getMessage​(org.springframework.context.MessageSourceResolvable resolvable,
                                 Locale locale)
                          throws org.springframework.context.NoSuchMessageException
        指定者:
        getMessage 在接口中 org.springframework.context.MessageSource
        抛出:
        org.springframework.context.NoSuchMessageException