public class ChainedTilesRequestContextFactory extends Object implements TilesRequestContextFactory
| Modifier and Type | Field and Description |
|---|---|
static String[] |
DEFAULT_FACTORY_CLASS_NAMES
The default class names to instantiate that compose the chain..
|
static String |
FACTORY_CLASS_NAMES
Factory class names initialization parameter to use.
|
| Constructor and Description |
|---|
ChainedTilesRequestContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
TilesRequestContext |
createRequestContext(TilesApplicationContext context,
Object... requestItems)
Create a TilesRequestContext for the given context,
request, and response.
|
void |
init(Map<String,String> configParameters)
Initializes the object.
|
protected void |
injectParentTilesContextFactory()
Injects this context factory to all chained context factories.
|
void |
setFactories(List<TilesRequestContextFactory> factories)
Sets the factories to be used.
|
public static final String FACTORY_CLASS_NAMES
public static final String[] DEFAULT_FACTORY_CLASS_NAMES
public void setFactories(List<TilesRequestContextFactory> factories)
factories - The factories to be used.public void init(Map<String,String> configParameters)
init in interface InitializableconfigParameters - The map of parameters.public TilesRequestContext createRequestContext(TilesApplicationContext context, Object... requestItems)
createRequestContext in interface TilesRequestContextFactorycontext - the associated TilesApplicationContextrequestItems - the associated request items, typically a request and a response.protected void injectParentTilesContextFactory()
Copyright © 2025. All rights reserved.