public class

SpringBeanPreparerFactory

extends AbstractSpringPreparerFactory
java.lang.Object
   ↳ org.springframework.web.servlet.view.tiles2.AbstractSpringPreparerFactory
     ↳ org.springframework.web.servlet.view.tiles2.SpringBeanPreparerFactory

Class Overview

Tiles2 org.apache.tiles.preparer.PreparerFactory 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.

Summary

Public Constructors
SpringBeanPreparerFactory()
Protected Methods
ViewPreparer getPreparer(String name, WebApplicationContext context)
Obtain a preparer instance for the given preparer name, based on the given Spring WebApplicationContext.
[Expand]
Inherited Methods
From class org.springframework.web.servlet.view.tiles2.AbstractSpringPreparerFactory
From class java.lang.Object

Public Constructors

public SpringBeanPreparerFactory ()

Protected Methods

protected ViewPreparer getPreparer (String name, WebApplicationContext context)

Obtain a preparer instance for the given preparer name, based on the given Spring WebApplicationContext.

Parameters
name the name of the preparer
context the current Spring WebApplicationContext
Returns
  • the preparer instance
Throws
TilesException