org.apache.tiles.compat.preparer
Class UrlPreparer

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

public class UrlPreparer
extends Object
implements ViewPreparer

Uses a URL that acts as a preparer. When org.apache.tiles.preparer.factory.factory.ViewPreparer#execute(Request, AttributeContext) is called, the URL is got, but its response is discarded.

Since:
2.1.0
Version:
$Rev: 1310865 $ $Date: 2012-04-07 17:01:22 -0400 (Sat, 07 Apr 2012) $

Constructor Summary
UrlPreparer(String url)
          Constructor.
 
Method Summary
 void execute(org.apache.tiles.request.Request 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(org.apache.tiles.request.Request tilesContext,
                    AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile is included.

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


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