类 AbstractSpringPreparerFactory
- java.lang.Object
- org.springframework.web.servlet.view.tiles3.AbstractSpringPreparerFactory
- 所有已实现的接口:
PreparerFactory
public abstract class AbstractSpringPreparerFactory extends Object implements PreparerFactory
Abstract implementation of the Tilesorg.apache.tiles.preparer.PreparerFactoryinterface, obtaining the current Spring WebApplicationContext and delegating togetPreparer(String, org.springframework.web.context.WebApplicationContext).- 从以下版本开始:
- 3.2
- 作者:
- Juergen Hoeller
- 另请参阅:
getPreparer(String, org.springframework.web.context.WebApplicationContext),SimpleSpringPreparerFactory,SpringBeanPreparerFactory
构造器概要
构造器 构造器 说明 AbstractSpringPreparerFactory()
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 ViewPreparergetPreparer(String name, Request context)protected abstract ViewPreparergetPreparer(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, Request context)
- 指定者:
getPreparer在接口中PreparerFactory
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