public class MessageManager
extends java.lang.Object
PageContext
that must be invoked at every method invocation: the
delegating tag class, living as singleton, has no valid PageContext object
available at its construction time, so that it needs to be equipped with some
sort of accessor method in which, before returning a reference to this
object, the setter method is invoked.Constructor and Description |
---|
MessageManager() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dictionary(java.lang.String key) |
java.lang.Class |
getModelClass(java.lang.String entityName) |
java.lang.Class |
getPackageClass(java.lang.String entityName,
java.lang.String packageName,
boolean silent) |
boolean |
isClassSpecificDictionary(java.lang.String entityName,
java.lang.String fieldName) |
ShrResourceBundleMessageSource |
messageSource() |
ShrResourceBundleMessageSource |
messageSource(java.lang.String baseName) |
java.lang.String |
msgOrKey(java.lang.String key) |
java.lang.String |
msgOrKey(java.lang.String key,
java.lang.Object[] args) |
void |
setPageContext(javax.servlet.jsp.PageContext pageContext) |
public void setPageContext(javax.servlet.jsp.PageContext pageContext)
public ShrResourceBundleMessageSource messageSource()
public ShrResourceBundleMessageSource messageSource(java.lang.String baseName)
public java.lang.String msgOrKey(java.lang.String key)
public java.lang.String msgOrKey(java.lang.String key, java.lang.Object[] args)
public java.lang.String dictionary(java.lang.String key)
public java.lang.Class getModelClass(java.lang.String entityName)
public java.lang.Class getPackageClass(java.lang.String entityName, java.lang.String packageName, boolean silent)
public boolean isClassSpecificDictionary(java.lang.String entityName, java.lang.String fieldName)