@groovy.transform.CompileStatic class GrailsMessageSourceUtils extends java.lang.Object
A simple class that selects a single org.springframework.context.MessageSource when two or more are present in the ApplicationContext. It defaults to the Grails or Spring org.springframework.context.MessageSource, if present.
Constructor and description |
---|
GrailsMessageSourceUtils() |
Type Params | Return Type | Name and description |
---|---|---|
|
static org.springframework.context.MessageSource |
findPreferredMessageSource(java.util.List<org.springframework.context.MessageSource> messageSources) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |