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

org.apache.tiles.compat.preparer
Class UrlPreparer

Package class diagram package UrlPreparer
java.lang.Object
  extended by org.apache.tiles.preparer.ViewPreparerSupport
      extended by org.apache.tiles.compat.preparer.UrlPreparer
All Implemented Interfaces:
ViewPreparer

public class UrlPreparer
extends ViewPreparerSupport

Uses a URL that acts as a preparer. When ViewPreparer.execute(TilesRequestContext, AttributeContext) is called, the URL is got, but its response is discarded.

Since:
2.1.0
Version:
$Rev: 709151 $ $Date: 2008-10-30 13:36:29 +0100 (gio, 30 ott 2008) $

Constructor Summary
UrlPreparer(String url)
          Constructor.
 
Method Summary
 void execute(TilesRequestContext tilesContext, AttributeContext attributeContext)
          Method associated to a tile and called immediately before the tile is included.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlPreparer

public UrlPreparer(String url)
Constructor.

Parameters:
url - The URL to be used as a preparer.
Method Detail

execute

public void execute(TilesRequestContext tilesContext,
                    AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile is included.

Specified by:
execute in interface ViewPreparer
Overrides:
execute in class ViewPreparerSupport
Parameters:
tilesContext - Current tiles application context.
attributeContext - Current tile context.


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