org.apache.commons.chain.web.faces
Class FacesGetLocaleCommand

java.lang.Object
  extended by org.apache.commons.chain.web.AbstractGetLocaleCommand
      extended by org.apache.commons.chain.web.faces.FacesGetLocaleCommand
All Implemented Interfaces:
Command

public class FacesGetLocaleCommand
extends AbstractGetLocaleCommand

Concrete implementation of AbstractGetLocaleCommand for the JavaServer Faces API.


Field Summary
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
FacesGetLocaleCommand()
           
 
Method Summary
protected  Locale getLocale(Context context)
          Retrieve and return the Locale for this request.
 
Methods inherited from class org.apache.commons.chain.web.AbstractGetLocaleCommand
execute, getLocaleKey, setLocaleKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesGetLocaleCommand

public FacesGetLocaleCommand()
Method Detail

getLocale

protected Locale getLocale(Context context)

Retrieve and return the Locale for this request.

Specified by:
getLocale in class AbstractGetLocaleCommand
Parameters:
context - The Context we are operating on.
Returns:
The Locale for the request.


Copyright 2003-2008 The Apache Software Foundation. All Rights Reserved.