public class SpringBeanPreparerFactory extends AbstractSpringPreparerFactory
PreparerFactory implementation
that expects preparer bean names and obtains preparer beans from the
Spring ApplicationContext. The full bean creation process will be in
the control of the Spring application context in this case, allowing
for the use of scoped beans etc.SimpleSpringPreparerFactory| Constructor and Description |
|---|
SpringBeanPreparerFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected ViewPreparer |
getPreparer(String name,
org.springframework.web.context.WebApplicationContext context)
Obtain a preparer instance for the given preparer name,
based on the given Spring WebApplicationContext.
|
getPreparerprotected ViewPreparer getPreparer(String name, org.springframework.web.context.WebApplicationContext context) throws TilesException
AbstractSpringPreparerFactorygetPreparer in class AbstractSpringPreparerFactoryname - the name of the preparercontext - the current Spring WebApplicationContextTilesException - in case of failure