|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.impl.BasicTilesContainer
org.apache.tiles.impl.mgmt.CachingTilesContainer
public class CachingTilesContainer
Mutable container which caches (in memory) the definitions registered to it. If a definition is not found in cache, it will revert back to it's definitions factory.
Field Summary |
---|
Fields inherited from class org.apache.tiles.impl.BasicTilesContainer |
---|
DEFINITIONS_CONFIG |
Constructor Summary | |
---|---|
CachingTilesContainer()
|
Method Summary | |
---|---|
protected ComponentDefinition |
getDefinition(java.lang.String definition,
TilesRequestContext context)
|
DefinitionsFactory |
getDefinitionsFactory()
Standard Getter |
void |
register(org.apache.tiles.mgmt.TileDefinition definition)
|
void |
setDefinitionsFactory(DefinitionsFactory definitionsFactory)
Set the definitions factory. |
Methods inherited from class org.apache.tiles.impl.BasicTilesContainer |
---|
checkInit, endContext, endContext, getApplicationContext, getComponentContext, getComponentContext, getContextFactory, getPreparerFactory, getResourceNames, getResourceString, getResourceString, init, initializeDefinitionsFactory, isValidDefinition, isValidDefinition, prepare, prepare, render, render, render, setApplicationContext, setContextFactory, setPreparerFactory, startContext, startContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tiles.TilesContainer |
---|
endContext, endContext, getApplicationContext, getComponentContext, getComponentContext, init, isValidDefinition, isValidDefinition, prepare, prepare, render, render, render, startContext, startContext |
Constructor Detail |
---|
public CachingTilesContainer()
Method Detail |
---|
public void register(org.apache.tiles.mgmt.TileDefinition definition) throws org.apache.tiles.TilesException
register
in interface org.apache.tiles.mgmt.MutableTilesContainer
org.apache.tiles.TilesException
protected ComponentDefinition getDefinition(java.lang.String definition, TilesRequestContext context) throws DefinitionsFactoryException
getDefinition
in class BasicTilesContainer
DefinitionsFactoryException
public DefinitionsFactory getDefinitionsFactory()
BasicTilesContainer
getDefinitionsFactory
in class BasicTilesContainer
public void setDefinitionsFactory(DefinitionsFactory definitionsFactory)
BasicTilesContainer
setDefinitionsFactory
in class BasicTilesContainer
definitionsFactory
- the definitions factory for this instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |