spring-framework / org.springframework.context.support / StaticApplicationContext / addMessage

addMessage

open fun addMessage(code: String, locale: Locale, defaultMessage: String): Unit

Associate the given message with the given code.

Parameters

code - lookup code

locale - locale message should be found within

defaultMessage - message associated with this lookup code

See Also
#getStaticMessageSource