Class SimpleSpringPreparerFactory
- java.lang.Object
- org.springframework.web.servlet.view.tiles2.AbstractSpringPreparerFactory
- org.springframework.web.servlet.view.tiles2.SimpleSpringPreparerFactory
- All Implemented Interfaces:
PreparerFactory
@Deprecated public class SimpleSpringPreparerFactory extends AbstractSpringPreparerFactory
Deprecated.as of Spring 4.2, in favor of Tiles 3TilesPreparerFactory
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.NOTE: Tiles 2 support is deprecated in favor of Tiles 3 and will be removed as of Spring Framework 5.0..
- Since:
- 2.5
- Author:
- Juergen Hoeller
- See Also:
SpringBeanPreparerFactory
Constructor Summary
Constructors Constructor Description SimpleSpringPreparerFactory()
Deprecated.
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected ViewPreparer
getPreparer(String name, WebApplicationContext context)
Deprecated.Obtain a preparer instance for the given preparer name, based on the given Spring WebApplicationContext.Methods inherited from class org.springframework.web.servlet.view.tiles2.AbstractSpringPreparerFactory
getPreparer
Constructor Detail
SimpleSpringPreparerFactory
public SimpleSpringPreparerFactory()
Deprecated.
Method Detail
getPreparer
protected ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException
Deprecated.Description copied from class:AbstractSpringPreparerFactory
Obtain a preparer instance for the given preparer name, based on the given Spring WebApplicationContext.- Specified by:
getPreparer
in classAbstractSpringPreparerFactory
- Parameters:
name
- the name of the preparercontext
- the current Spring WebApplicationContext- Returns:
- the preparer instance
- Throws:
TilesException
- in case of failure