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, localeResolver
DEFINITION_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, setLocaleResolver
public Definition getDefinition(String name, org.apache.tiles.request.Request tilesContext)
getDefinition
in interface DefinitionsFactory
getDefinition
in class UnresolvingLocaleDefinitionsFactory
name
- 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.