public abstract class AbstractSpringPreparerFactory extends Object implements org.apache.tiles.preparer.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 |
---|---|
org.apache.tiles.preparer.ViewPreparer |
getPreparer(String name,
org.apache.tiles.context.TilesRequestContext context) |
protected abstract org.apache.tiles.preparer.ViewPreparer |
getPreparer(String name,
WebApplicationContext context)
Obtain a preparer instance for the given preparer name,
based on the given Spring WebApplicationContext.
|
public org.apache.tiles.preparer.ViewPreparer getPreparer(String name, org.apache.tiles.context.TilesRequestContext context) throws org.apache.tiles.TilesException
getPreparer
in interface org.apache.tiles.preparer.PreparerFactory
org.apache.tiles.TilesException
protected abstract org.apache.tiles.preparer.ViewPreparer getPreparer(String name, WebApplicationContext context) throws org.apache.tiles.TilesException
name
- the name of the preparercontext
- the current Spring WebApplicationContextorg.apache.tiles.TilesException
- in case of failureCopyright © 2015. All rights reserved.