org.springframework.web.servlet.view.tiles
Class ComponentControllerSupport

org.springframework.context.support.ApplicationObjectSupport
  |
  +--org.springframework.web.context.support.WebApplicationObjectSupport
        |
        +--org.springframework.web.servlet.view.tiles.ComponentControllerSupport

public abstract class ComponentControllerSupport
extends WebApplicationObjectSupport
implements Controller

Convenience class for Spring-aware Tiles component controllers. Provides a reference to the current Spring application context, e.g. for bean lookup or resource loading.

Author:
Juergen Hoeller, Alef Arendsen
Since: 22.08.2003

Method Summary
 final voidperform(ComponentContext componentContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
          This implementation delegates to doPerform, lazy-initializing the application context reference if necessary, and converting non-Servlet/IO Exceptions to ServletException.

Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, setApplicationContext

Method Detail

perform

public final void perform(ComponentContext componentContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
throws ServletException,
java.io.IOException
This implementation delegates to doPerform, lazy-initializing the application context reference if necessary, and converting non-Servlet/IO Exceptions to ServletException.
See Also:
doPerform(ComponentContext,HttpServletRequest,HttpServletResponse)