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

org.apache.tiles.web.startup
Class AbstractTilesInitializerServlet

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

public abstract class AbstractTilesInitializerServlet
extends HttpServlet

Abstract Initialization Servlet. Uses a TilesInitializer, created by createTilesInitializer() to initialize Tiles.

Since:
2.2.0
Version:
$Rev: 797540 $ $Date: 2009-07-24 17:42:00 +0200 (ven, 24 lug 2009) $
See Also:
TilesListener, Serialized Form

Constructor Summary
AbstractTilesInitializerServlet()
           
 
Method Summary
protected abstract  TilesInitializer createTilesInitializer()
          Creates a new instance of TilesInitializer.
 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
 

Constructor Detail

AbstractTilesInitializerServlet

public AbstractTilesInitializerServlet()
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 abstract TilesInitializer createTilesInitializer()
Creates a new instance of TilesInitializer. Implement it to use your custom initializer.

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


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