@Deprecated public abstract class AbstractSpringPreparerFactory extends 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()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ViewPreparer |
getPreparer(String name,
TilesRequestContext context)
Deprecated.
|
protected abstract ViewPreparer |
getPreparer(String name,
WebApplicationContext context)
Deprecated.
Obtain a preparer instance for the given preparer name,
based on the given Spring WebApplicationContext.
|
public ViewPreparer getPreparer(String name, TilesRequestContext context) throws TilesException
getPreparer
in interface PreparerFactory
TilesException
protected abstract ViewPreparer getPreparer(String name, WebApplicationContext context) throws TilesException
name
- the name of the preparercontext
- the current Spring WebApplicationContextTilesException
- in case of failure