public abstract class AbstractSpringPreparerFactory extends java.lang.Object implements PreparerFactory
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,
TilesRequestContext 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, TilesRequestContext context) throws TilesException
getPreparer in interface PreparerFactoryTilesExceptionprotected 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