docs: public static void registerMessageSourceIfNecessary(BeanDefinitionRegistry registry,
              String[] messageBaseNames) {
          if (!registry.containsBeanDefinition(MESSAGE_SOURCE_BEAN_NAME)) {
              GenericBeanDefinition messageSource = new GenericBeanDefinition();
              messageSource.setBeanClass(ReloadableResourceBundleMessageSource.class);
              MutablePropertyValues propertyValues = new MutablePropertyValues();
              propertyValues.addPropertyValue("useCodeAsDefaultMessage", true);
              propertyValues.addPropertyValue("defaultEncoding", "UTF-8"); // properties文件也将使用UTF-8编辑，而非默认的ISO-9959-1
              propertyValues.addPropertyValue("cacheSeconds", 60); // 暂时hardcode! seconds
              propertyValues.addPropertyValue("basenames", messageBaseNames);
  
              messageSource.setPropertyValues(propertyValues);
              registry.registerBeanDefinition(MESSAGE_SOURCE_BEAN_NAME, messageSource);
          }
      }