|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.apache.tiles.context.AbstractTilesApplicationContextFactory
org.apache.tiles.context.ChainedTilesApplicationContextFactory
TilesApplicationContext yourself,
by implementing TilesInitializer or
extending AbstractTilesInitializer and
overriding createTilesApplicationContext method.
public class ChainedTilesApplicationContextFactory
Implementation for TilesApplicationContextFactory, that creates a chain of sub-factories, trying each one until it returns a not-null value.
| Field Summary | |
|---|---|
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. |
| Fields inherited from class org.apache.tiles.context.AbstractTilesApplicationContextFactory |
|---|
APPLICATION_CONTEXT_FACTORY_INIT_PARAM |
| Constructor Summary | |
|---|---|
ChainedTilesApplicationContextFactory()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.tiles.context.AbstractTilesApplicationContextFactory |
|---|
createFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FACTORY_CLASS_NAMES
public static final String[] DEFAULT_FACTORY_CLASS_NAMES
| Constructor Detail |
|---|
public ChainedTilesApplicationContextFactory()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||