org.jboss.seam.international.locale
Class UserLocaleProducer

java.lang.Object
  extended by org.jboss.seam.international.locale.UserLocaleProducer
All Implemented Interfaces:
Serializable

@SessionScoped
public class UserLocaleProducer
extends Object
implements Serializable

Locale for a User Session. Defaults to the Locale within DefaultLocale and is altered when it receives the @Changed event.

Author:
Ken Finnigan
See Also:
Serialized Form

Constructor Summary
UserLocaleProducer()
           
 
Method Summary
 void changeLocale(Locale lc)
           
 void init(Locale defaultLocale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLocaleProducer

public UserLocaleProducer()
Method Detail

init

@Inject
public void init(Locale defaultLocale)

changeLocale

public void changeLocale(@Observes@Alter@Client
                         Locale lc)


Copyright © 2009-2010 Seam Framework. All Rights Reserved.