Class AbstractSpringPreparerFactory
- java.lang.Object
- org.springframework.web.servlet.view.tiles2.AbstractSpringPreparerFactory
- All Implemented Interfaces:
PreparerFactory
- Direct Known Subclasses:
SimpleSpringPreparerFactory
,SpringBeanPreparerFactory
@Deprecated public abstract class AbstractSpringPreparerFactory extends Object implements PreparerFactory
Deprecated.as of Spring 4.2, in favor of Tiles 3Abstract implementation of the TilesPreparerFactory
interface, obtaining the current Spring WebApplicationContext and delegating togetPreparer(String, org.springframework.web.context.WebApplicationContext)
.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:
getPreparer(String, org.springframework.web.context.WebApplicationContext)
,SimpleSpringPreparerFactory
,SpringBeanPreparerFactory
Constructor Summary
Constructors Constructor Description AbstractSpringPreparerFactory()
Deprecated.
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ViewPreparer
getPreparer(String name, TilesRequestContext context)
Deprecated.protected abstract ViewPreparer
getPreparer(String name, WebApplicationContext context)
Deprecated.Obtain a preparer instance for the given preparer name, based on the given Spring WebApplicationContext.
Constructor Detail
AbstractSpringPreparerFactory
public AbstractSpringPreparerFactory()
Deprecated.
Method Detail
getPreparer
public ViewPreparer getPreparer(String name, TilesRequestContext context) throws TilesException
Deprecated.- Specified by:
getPreparer
in interfacePreparerFactory
- Throws:
TilesException
getPreparer
protected abstract ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException
Deprecated.Obtain a preparer instance for the given preparer name, based on the given Spring WebApplicationContext.- Parameters:
name
- the name of the preparercontext
- the current Spring WebApplicationContext- Returns:
- the preparer instance
- Throws:
TilesException
- in case of failure