TilesApplicationContext yourself,
by implementing TilesInitializer or
extending AbstractTilesInitializer and
overriding createTilesApplicationContext method.public class ChainedTilesApplicationContextFactory extends AbstractTilesApplicationContextFactory implements Initializable
| Modifier and Type | Field and Description |
|---|---|
static String[] |
DEFAULT_FACTORY_CLASS_NAMES
Deprecated.
The default class names to instantiate that compose the chain..
|
static String |
FACTORY_CLASS_NAMES
Deprecated.
Factory class names initialization parameter to use.
|
APPLICATION_CONTEXT_FACTORY_INIT_PARAM| Constructor and Description |
|---|
ChainedTilesApplicationContextFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
TilesApplicationContext |
createApplicationContext(Object context)
Deprecated.
Create a TilesApplicationContext for the given context.
|
void |
init(Map<String,String> configParameters)
Deprecated.
Initializes the object.
|
void |
setFactories(List<AbstractTilesApplicationContextFactory> factories)
Deprecated.
Sets the factories to be used.
|
createFactorypublic static final String FACTORY_CLASS_NAMES
public static final String[] DEFAULT_FACTORY_CLASS_NAMES
public ChainedTilesApplicationContextFactory()
public void setFactories(List<AbstractTilesApplicationContextFactory> factories)
factories - The factories to be used.public void init(Map<String,String> configParameters)
init in interface InitializableconfigParameters - The map of parameters.public TilesApplicationContext createApplicationContext(Object context)
createApplicationContext in class AbstractTilesApplicationContextFactorycontext - The (application) context to use.Copyright © 2025. All rights reserved.