Interface PreparerFactory
- All Known Implementing Classes:
BasicPreparerFactory
,CompatibilityPreparerFactory
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: 1310865 $ $Date: 2012-04-08 07:01:22 +1000 (Sun, 08 Apr 2012) $
-
Method Summary
Modifier and TypeMethodDescriptiongetPreparer
(String name, org.apache.tiles.request.Request context) Create the named {link ViewPreparer} for the specified context.
-
Method Details
-
getPreparer
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
-