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.
|
getPreparer
protected ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException
AbstractSpringPreparerFactory
getPreparer
in class AbstractSpringPreparerFactory
name
- the name of the preparercontext
- the current Spring WebApplicationContextTilesException
- in case of failure