DefinitionsFactory
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.
DEFINITION_DAO_INIT_PARAM, DEFINITIONS_CONFIG, LOCALE_RESOLVER_IMPL_PROPERTY, READER_IMPL_PROPERTY
definitionDao, localeResolver
Constructor | Description |
---|---|
LocaleDefinitionsFactory() |
Modifier and Type | Method | Description |
---|---|---|
Definition |
getDefinition(java.lang.String name,
org.apache.tiles.request.Request tilesContext) |
Returns a Definition object that matches the given name and
Tiles context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setDefinitionDAO, setLocaleResolver
public Definition getDefinition(java.lang.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 © 2018. All rights reserved.