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

org.apache.tiles.preparer
Interface PreparerFactory

Package class diagram package PreparerFactory
All Known Implementing Classes:
BasicPreparerFactory

public interface PreparerFactory

Factory interface used to create/retrieve instances of the ViewPreparer interface.

This factory provides an extension point into the default tiles implementation. Implementors wishing to provide per request initialization of the ViewPreparer (for instance) may provide a custom prerparer.

Since:
2.0
Version:
$Rev: 527536 $ $Date: 2007-04-11 17:44:51 +0200 (Wed, 11 Apr 2007) $

Method Summary
 ViewPreparer getPreparer(String name, TilesRequestContext context)
          Create the named {link ViewPreparer} for the specified context.
 

Method Detail

getPreparer

ViewPreparer getPreparer(String name,
                         TilesRequestContext context)
                         throws TilesException
Create the named {link ViewPreparer} for the specified context.

Parameters:
name - ViewPreparer name, commonly the qualified classname.
context - the context within which the preparerInstance will be invoked.
Returns:
instance of the ViewPreparer
Throws:
TilesException - If something goes wrong during preparer creation.


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