public abstract class

AbstractSpringPreparerFactory

extends Object
java.lang.Object
   ↳ org.springframework.web.servlet.view.tiles2.AbstractSpringPreparerFactory
Known Direct Subclasses

Class Overview

Abstract implementation of the Tiles2 org.apache.tiles.preparer.PreparerFactory interface, obtaining the current Spring WebApplicationContext and delegating to getPreparer(String, org.springframework.web.context.WebApplicationContext).

Summary

Public Constructors
AbstractSpringPreparerFactory()
Public Methods
ViewPreparer getPreparer(String name, TilesRequestContext context)
Protected Methods
abstract 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 java.lang.Object

Public Constructors

public AbstractSpringPreparerFactory ()

Public Methods

public ViewPreparer getPreparer (String name, TilesRequestContext context)

Throws
TilesException

Protected Methods

protected abstract 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
in case of failure
TilesException