public class

SimpleSpringPreparerFactory

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

Class Overview

Tiles2 org.apache.tiles.preparer.PreparerFactory implementation that expects preparer class names and builds preparer instances for those, creating them through the Spring ApplicationContext in order to apply Spring container callbacks and configured Spring BeanPostProcessors.

Summary

Public Constructors
SimpleSpringPreparerFactory()
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 SimpleSpringPreparerFactory ()

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