public abstract class AbstractSpringPreparerFactory
extends java.lang.Object
org.apache.tiles.preparer.PreparerFactory
interface, obtaining the current Spring WebApplicationContext and delegating to
getPreparer(String, org.springframework.web.context.WebApplicationContext).getPreparer(String, org.springframework.web.context.WebApplicationContext),
SimpleSpringPreparerFactory,
SpringBeanPreparerFactory| Constructor and Description |
|---|
AbstractSpringPreparerFactory() |
| Modifier and Type | Method and Description |
|---|---|
ViewPreparer |
getPreparer(java.lang.String name,
Request context) |
protected abstract ViewPreparer |
getPreparer(java.lang.String name,
WebApplicationContext context)
Obtain a preparer instance for the given preparer name,
based on the given Spring WebApplicationContext.
|
public ViewPreparer getPreparer(java.lang.String name,
Request context)
protected abstract ViewPreparer getPreparer(java.lang.String name,
WebApplicationContext context)
throws TilesException
name - the name of the preparercontext - the current Spring WebApplicationContextTilesException - in case of failure