This project has retired. For details please refer to its Attic page.
TilesServlet (Tiles 2 2.1.4 API)

org.apache.tiles.web.startup
Class TilesServlet

Package class diagram package TilesServlet
java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.tiles.web.startup.TilesServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig
Direct Known Subclasses:
TilesFilter

public class TilesServlet
extends HttpServlet

Initialization Servlet.

Version:
$Rev: 734996 $ $Date: 2009-01-16 14:27:28 +0100 (ven, 16 gen 2009) $
See Also:
TilesListener, Serialized Form

Field Summary
protected  Log log
          Log instance.
 
Constructor Summary
TilesServlet()
          Constructor.
 
Method Summary
protected  TilesInitializer createTilesInitializer()
          Creates a new instance of BasicTilesInitializer.
 void destroy()
          
 void init()
          
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, 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
 

Field Detail

log

protected final Log log
Log instance.

Constructor Detail

TilesServlet

public TilesServlet()
Constructor.

Since:
2.1.2
Method Detail

destroy

public void destroy()

Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet

init

public void init()
          throws ServletException

Overrides:
init in class GenericServlet
Throws:
ServletException

createTilesInitializer

protected TilesInitializer createTilesInitializer()
Creates a new instance of BasicTilesInitializer. Override it to use a different initializer.

Returns:
The Tiles servlet-based initializer.
Since:
2.1.2


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.