|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.services.ThreadLocaleImpl
@Scope(value="perthread") public class ThreadLocaleImpl
| Constructor Summary | |
|---|---|
ThreadLocaleImpl()
|
|
| Method Summary | |
|---|---|
java.util.Locale |
getLocale()
Returns the thread's locale, which will be the JVM's default locale, until ThreadLocale.setLocale(Locale) is
invoked. |
void |
setLocale(java.util.Locale locale)
Updates the locale for the current thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadLocaleImpl()
| Method Detail |
|---|
public java.util.Locale getLocale()
ThreadLocaleThreadLocale.setLocale(Locale) is
invoked.
getLocale in interface ThreadLocalepublic void setLocale(java.util.Locale locale)
ThreadLocale
setLocale in interface ThreadLocalelocale - the new locale (may not be null)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||