类 SpringBeanPreparerFactory
- java.lang.Object
- org.springframework.web.servlet.view.tiles2.AbstractSpringPreparerFactory
- org.springframework.web.servlet.view.tiles2.SpringBeanPreparerFactory
- 所有已实现的接口:
PreparerFactory
@Deprecated public class SpringBeanPreparerFactory extends AbstractSpringPreparerFactory
已过时。as of Spring 4.2, in favor of Tiles 3TilesPreparerFactory
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.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
- 另请参阅:
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.tiles2.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