类 AbstractSpringPreparerFactory
- java.lang.Object
- org.springframework.web.servlet.view.tiles2.AbstractSpringPreparerFactory
- 所有已实现的接口:
PreparerFactory
@Deprecated public abstract class AbstractSpringPreparerFactory extends Object implements PreparerFactory
已过时。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..
- 从以下版本开始:
- 2.5
- 作者:
- Juergen Hoeller
- 另请参阅:
getPreparer(String, org.springframework.web.context.WebApplicationContext)
,SimpleSpringPreparerFactory
,SpringBeanPreparerFactory
构造器概要
构造器 构造器 说明 AbstractSpringPreparerFactory()
已过时。
方法概要
所有方法 实例方法 抽象方法 具体方法 已过时的方法 修饰符和类型 方法 说明 ViewPreparer
getPreparer(String name, TilesRequestContext context)
已过时。protected abstract ViewPreparer
getPreparer(String name, WebApplicationContext context)
已过时。Obtain a preparer instance for the given preparer name, based on the given Spring WebApplicationContext.
构造器详细资料
AbstractSpringPreparerFactory
public AbstractSpringPreparerFactory()
已过时。
方法详细资料
getPreparer
public ViewPreparer getPreparer(String name, TilesRequestContext context) throws TilesException
已过时。- 指定者:
getPreparer
在接口中PreparerFactory
- 抛出:
TilesException
getPreparer
protected abstract ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException
已过时。Obtain a preparer instance for the given preparer name, based on the given Spring WebApplicationContext.- 参数:
name
- the name of the preparercontext
- the current Spring WebApplicationContext- 返回:
- the preparer instance
- 抛出:
TilesException
- in case of failure