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