This project has retired. For details please refer to its Attic page.
KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor (Tiles 2 2.0.7 API)

org.apache.tiles.impl
Class KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor

Package class diagram package KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor
java.lang.Object
  extended by org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor
All Implemented Interfaces:
KeyedDefinitionsFactoryTilesContainer.KeyExtractor
Enclosing class:
KeyedDefinitionsFactoryTilesContainer

public static class KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor
extends Object
implements KeyedDefinitionsFactoryTilesContainer.KeyExtractor

This is the default factory key. Takes the key from the request-scoped attribute DEFINITIONS_FACTORY_KEY_ATTRIBUTE_NAME.


Field Summary
static String DEFINITIONS_FACTORY_KEY_ATTRIBUTE_NAME
          Name of the attribute inside the request that will be used to get the key of the definitions factory to be used.
 
Constructor Summary
KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor()
           
 
Method Summary
 String getDefinitionsFactoryKey(TilesRequestContext request)
          Returns the definitions factory key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFINITIONS_FACTORY_KEY_ATTRIBUTE_NAME

public static final String DEFINITIONS_FACTORY_KEY_ATTRIBUTE_NAME
Name of the attribute inside the request that will be used to get the key of the definitions factory to be used.

See Also:
Constant Field Values
Constructor Detail

KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor

public KeyedDefinitionsFactoryTilesContainer.DefaultKeyExtractor()
Method Detail

getDefinitionsFactoryKey

public String getDefinitionsFactoryKey(TilesRequestContext request)
Returns the definitions factory key.

Specified by:
getDefinitionsFactoryKey in interface KeyedDefinitionsFactoryTilesContainer.KeyExtractor
Parameters:
request - The request object.
Returns:
The needed factory key.


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.