java.lang.Object |
↳ |
org.springframework.context.support.AbstractMessageSource |
|
↳ |
org.springframework.context.support.ResourceBundleMessageSource |
|
|
↳ |
org.springframework.security.core.SpringSecurityMessageSource |
Class Overview
The default MessageSource
used by Spring Security.
All Spring Security classes requiring messge localization will by default use this class.
However, all such classes will also implement MessageSourceAware
so that the application context can
inject an alternative message source. Therefore this class is only used when the deployment environment has not
specified an alternative message source.
Summary
[Expand]
Inherited Fields |
From class
org.springframework.context.support.AbstractMessageSource
protected
final
Log |
logger |
|
|
Public Methods |
static
MessageSourceAccessor
|
getAccessor()
|
[Expand]
Inherited Methods |
From class
org.springframework.context.support.ResourceBundleMessageSource
|
From class
org.springframework.context.support.AbstractMessageSource
MessageFormat
|
createMessageFormat(String arg0, Locale arg1)
|
String
|
formatMessage(String arg0, Object[] arg1, Locale arg2)
|
String
|
getDefaultMessage(String arg0)
|
final
String
|
getMessage(String arg0, Object[] arg1, Locale arg2)
|
final
String
|
getMessage(String arg0, Object[] arg1, String arg2, Locale arg3)
|
final
String
|
getMessage(MessageSourceResolvable arg0, Locale arg1)
|
String
|
getMessageFromParent(String arg0, Object[] arg1, Locale arg2)
|
String
|
getMessageInternal(String arg0, Object[] arg1, Locale arg2)
|
MessageSource
|
getParentMessageSource()
|
boolean
|
isAlwaysUseMessageFormat()
|
boolean
|
isUseCodeAsDefaultMessage()
|
String
|
renderDefaultMessage(String arg0, Object[] arg1, Locale arg2)
|
Object[]
|
resolveArguments(Object[] arg0, Locale arg1)
|
abstract
MessageFormat
|
resolveCode(String arg0, Locale arg1)
|
String
|
resolveCodeWithoutArguments(String arg0, Locale arg1)
|
void
|
setAlwaysUseMessageFormat(boolean arg0)
|
void
|
setParentMessageSource(MessageSource arg0)
|
void
|
setUseCodeAsDefaultMessage(boolean arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.springframework.context.HierarchicalMessageSource
abstract
MessageSource
|
getParentMessageSource()
|
abstract
void
|
setParentMessageSource(MessageSource arg0)
|
|
From interface
org.springframework.context.MessageSource
|
Public Constructors
public
SpringSecurityMessageSource
()
Public Methods
public
static
MessageSourceAccessor
getAccessor
()