|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.thymeleaf.messageresolver.AbstractMessageResolver org.thymeleaf.spring3.messageresolver.SpringNonCacheableMessageResolver
public final class SpringNonCacheableMessageResolver
Implementation of IMessageResolver
that
integrates the standard Spring way of resolving messages into Thymeleaf.
This resolution is done by means of using the available Spring-configured
MessageSource
objects.
This message resolver will consider you are using a reloadable MessageSource in your Spring configuration and thus will be considered non-cacheable.
Constructor Summary | |
---|---|
SpringNonCacheableMessageResolver()
|
Method Summary | |
---|---|
org.springframework.context.MessageSource |
getMessageSource()
Returns the message source ( MessageSource ) to be
used for message resolution. |
protected void |
initializeSpecific()
|
protected void |
initializeSpringSpecific()
|
org.thymeleaf.messageresolver.MessageResolution |
resolveMessage(org.thymeleaf.Arguments arguments,
String key,
Object[] messageParameters)
|
void |
setMessageSource(org.springframework.context.MessageSource messageSource)
Sets the message source to be used for message resolution |
protected org.springframework.context.MessageSource |
unsafeGetMessageSource()
Uninitialized method meant for use by subclasses. |
Methods inherited from class org.thymeleaf.messageresolver.AbstractMessageResolver |
---|
checkInitialized, checkNotInitialized, getName, getOrder, initialize, isInitialized, setName, setOrder, unsafeGetName, unsafeGetOrder |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpringNonCacheableMessageResolver()
Method Detail |
---|
protected final void initializeSpecific()
initializeSpecific
in class org.thymeleaf.messageresolver.AbstractMessageResolver
protected void initializeSpringSpecific()
public final org.springframework.context.MessageSource getMessageSource()
Returns the message source (MessageSource
) to be
used for message resolution.
protected final org.springframework.context.MessageSource unsafeGetMessageSource()
Uninitialized method meant for use by subclasses.
public void setMessageSource(org.springframework.context.MessageSource messageSource)
Sets the message source to be used for message resolution
setMessageSource
in interface org.springframework.context.MessageSourceAware
messageSource
- the message sourcepublic org.thymeleaf.messageresolver.MessageResolution resolveMessage(org.thymeleaf.Arguments arguments, String key, Object[] messageParameters)
resolveMessage
in interface org.thymeleaf.messageresolver.IMessageResolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |