public class SimpleSpringPreparerFactory extends AbstractSpringPreparerFactory
PreparerFactory implementation
that expects preparer class names and builds preparer instances for those,
creating them through the Spring ApplicationContext in order to apply
Spring container callbacks and configured Spring BeanPostProcessors.SpringBeanPreparerFactory| Constructor and Description |
|---|
SimpleSpringPreparerFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected ViewPreparer |
getPreparer(String name,
WebApplicationContext context)
Obtain a preparer instance for the given preparer name,
based on the given Spring WebApplicationContext.
|
getPreparerprotected ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException
AbstractSpringPreparerFactorygetPreparer in class AbstractSpringPreparerFactoryname - the name of the preparercontext - the current Spring WebApplicationContextTilesException - in case of failure