org.jboss.portal.server.aspects.server
Class LocaleInterceptor

java.lang.Object
  extended by org.jboss.portal.server.ServerInterceptor
      extended by org.jboss.portal.server.aspects.server.LocaleInterceptor
All Implemented Interfaces:
Interceptor

public class LocaleInterceptor
extends ServerInterceptor

The goal of this interceptor is to choose the locale for the user. This implementation is very simple as it reuses the locale specified in the incominh HTTP request.

Version:
$Revision: 8784 $
Author:
Julien Viet

Constructor Summary
LocaleInterceptor()
           
 
Method Summary
protected  void invoke(ServerInvocation invocation)
           
 
Methods inherited from class org.jboss.portal.server.ServerInterceptor
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleInterceptor

public LocaleInterceptor()
Method Detail

invoke

protected void invoke(ServerInvocation invocation)
               throws java.lang.Exception,
                      InvocationException
Specified by:
invoke in class ServerInterceptor
Throws:
java.lang.Exception
InvocationException