
public class LocaleDefinitionsFactory extends UnresolvingLocaleDefinitionsFactory
DefinitionsFactory implementation that manages
Definitions configuration data from URLs, but resolving definition
inheritance when a definition is returned..
The Definition objects are read from the
DigesterDefinitionsReader
class unless another implementation is specified.
definitionDao, localeResolverDEFINITION_DAO_INIT_PARAM, DEFINITIONS_CONFIG, LOCALE_RESOLVER_IMPL_PROPERTY, READER_IMPL_PROPERTY| Constructor and Description |
|---|
LocaleDefinitionsFactory() |
| Modifier and Type | Method and Description |
|---|---|
Definition |
getDefinition(String name,
org.apache.tiles.request.Request tilesContext)
Returns a Definition object that matches the given name and
Tiles context.
|
setDefinitionDAO, setLocaleResolverpublic Definition getDefinition(String name, org.apache.tiles.request.Request tilesContext)
getDefinition in interface DefinitionsFactorygetDefinition in class UnresolvingLocaleDefinitionsFactoryname - The name of the Definition to return.tilesContext - The Tiles context to use to resolve the definition.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.