Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.ioc.internal.services
Class MapSymbolProvider

    java.lang.Object
      org.apache.tapestry5.ioc.internal.services.MapSymbolProvider

All Implemented Interfaces:
  SymbolProvider

    public class MapSymbolProvider

extends java.lang.Object
implements SymbolProvider

Provides symbol values from a Map of symbol names and symbol values (typically provided by a Tapestry IOC service configuration).

Constructor Summary
`MapSymbolProvider(java.util.Map<java.lang.String,java.lang.String> configuration)`

Method Summary
`java.lang.String` | `valueForSymbol(java.lang.String symbolName)` Returns the value for the symbol, or null if this provider can not provide a value.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MapSymbolProvider

    public MapSymbolProvider(java.util.Map<java.lang.String,java.lang.String> configuration)

Method Detail

### valueForSymbol

    public java.lang.String valueForSymbol(java.lang.String symbolName)

  Description copied from interface: `SymbolProvider`
  Returns the value for the symbol, or null if this provider can not provide a value. The value itself may contain symbols that will be recursively expanded.

  Specified by:
    `valueForSymbol` in interface `SymbolProvider`
  Returns:
    the value or null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.