Class ThreadLocaleImpl
- java.lang.Object
- 
- org.apache.tapestry5.ioc.internal.services.ThreadLocaleImpl
 
- 
- All Implemented Interfaces:
- ThreadLocale
 
 @Scope("perthread") public class ThreadLocaleImpl extends java.lang.Object implements ThreadLocale 
- 
- 
Constructor SummaryConstructors Constructor Description ThreadLocaleImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.LocalegetLocale()Returns the thread's locale, which will be the JVM's default locale, untilThreadLocale.setLocale(Locale)is invoked.voidsetLocale(java.util.Locale locale)Updates the locale for the current thread.
 
- 
- 
- 
Constructor Detail- 
ThreadLocaleImplpublic ThreadLocaleImpl() 
 
- 
 - 
Method Detail- 
getLocalepublic java.util.Locale getLocale() Description copied from interface:ThreadLocaleReturns the thread's locale, which will be the JVM's default locale, untilThreadLocale.setLocale(Locale)is invoked.- Specified by:
- getLocalein interface- ThreadLocale
- Returns:
- the thread's locale
 
 - 
setLocalepublic void setLocale(java.util.Locale locale) Description copied from interface:ThreadLocaleUpdates the locale for the current thread.- Specified by:
- setLocalein interface- ThreadLocale
- Parameters:
- locale- the new locale (may not be null)
 
 
- 
 
-