PageMixer API - 3.1

jp.ne.dti.lares.foozy.pagemixer.struts
Class LocalePageServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--jp.ne.dti.lares.foozy.pagemixer.servlet.PageServlet
                    |
                    +--jp.ne.dti.lares.foozy.pagemixer.struts.LocalePageServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class LocalePageServlet
extends PageServlet

PageServlet with LocalePageFactory.

This is utility class to use PageServlet with LocalePageFactory, StrutsContextFactory, StrutsLocaleFactory and StrutsFilterFactory easily.

ATTENTION:For simpleness of class name, difference between this and LocalePageServlet is only name of package, so please take care of descripting fully qualified class name.

Since:
PageMixer 3.0
See Also:
Serialized Form

Fields inherited from class jp.ne.dti.lares.foozy.pagemixer.servlet.PageServlet
PARAM_CONTEXT_FACTORY, PARAM_EXPIRE_INTERVAL, PARAM_FILTER_FACTORY, PARAM_FORWARD_STRATEGY, PARAM_LOCALE_FACTORY, PARAM_LOCATOR_FACTORY, PARAM_PAGE_FACTORY, PARAM_PRODUCER_FACTORY
 
Constructor Summary
LocalePageServlet()
          Construct.
LocalePageServlet(ForwardStrategy forwardStrategy, FilterFactory filterFactory, LocatorFactory locatorFactory, ProducerFactory producerFactory)
          Deprecated. by another constructor
LocalePageServlet(ForwardStrategy forwardStrategy, LocatorFactory locatorFactory, ProducerFactory producerFactory)
          Constructor.
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.servlet.PageServlet
destroy, doAction, doGet, doPost, init
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalePageServlet

public LocalePageServlet()
Construct.

This is equivalent to LocalePageServlet with each base classes.


LocalePageServlet

public LocalePageServlet(ForwardStrategy forwardStrategy,
                         LocatorFactory locatorFactory,
                         ProducerFactory producerFactory)
Constructor.

This uses StrutsFilterFactory as FilterFactory.

Parameters:
forwardStrategy - to decide control forwarding
locatorFactory - to create Locator
producerFactory - to create Producer.Factory
Since:
PageMixer 3.1

LocalePageServlet

public LocalePageServlet(ForwardStrategy forwardStrategy,
                         FilterFactory filterFactory,
                         LocatorFactory locatorFactory,
                         ProducerFactory producerFactory)
Deprecated. by another constructor

Constructor.
Parameters:
forwardStrategy - to decide control forwarding
filterFactory - to create Filter
locatorFactory - to create Locator
producerFactory - to create Producer.Factory

PageMixer API - 3.1