javax.security.auth.callback
public class: LanguageCallback [javadoc |
source]
java.lang.Object
javax.security.auth.callback.LanguageCallback
All Implemented Interfaces:
Callback, java$io$Serializable
Underlying security services instantiate and pass a
LanguageCallback
to the handle
method of a CallbackHandler
to retrieve the Locale
used for localizing text.
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.security.auth.callback.LanguageCallback Detail: |
public Locale getLocale() {
return locale;
}
Get the retrieved Locale .
|
public void setLocale(Locale locale) {
this.locale = locale;
}
Set the retrieved Locale .
|