LocaleDefinitionsFactory
, UnresolvingLocaleDefinitionsFactory
public interface DefinitionsFactory
Definition
s and managing their contents.
DefinitionsFactory implementations are responsible for maintaining the data sources of Tiles configuration data and using the data to create Definitions sets. Implementations also know how to append locale-specific configuration data to an existing Definitions set.
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
DEFINITION_DAO_INIT_PARAM |
Constant representing the configuration parameter used to define the
definition DAO to use.
|
static java.lang.String |
DEFINITIONS_CONFIG |
Constant representing the configuration parameter
used to define the tiles definition resources.
|
static java.lang.String |
LOCALE_RESOLVER_IMPL_PROPERTY |
Property name that specifies the implementation of
LocaleResolver . |
static java.lang.String |
READER_IMPL_PROPERTY |
Property name that specifies the implementation of the DefinitionsReader.
|
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.
|
static final java.lang.String READER_IMPL_PROPERTY
static final java.lang.String LOCALE_RESOLVER_IMPL_PROPERTY
LocaleResolver
.static final java.lang.String DEFINITIONS_CONFIG
static final java.lang.String DEFINITION_DAO_INIT_PARAM
Definition getDefinition(java.lang.String name, org.apache.tiles.request.Request tilesContext)
name
- The name of the Definition to return.tilesContext
- The Tiles context to use to resolve the definition.Copyright © 2018. All rights reserved.