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.
Modifier and Type | Method and Description |
---|---|
ViewPreparer |
getPreparer(String name,
TilesRequestContext context)
Create the named {link ViewPreparer} for the specified context.
|
ViewPreparer getPreparer(String name, TilesRequestContext context)
name
- ViewPreparer name, commonly the qualified classname.context
- the context within which the preparerInstance will be invoked.Copyright © 2017. All rights reserved.