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.cayenne.di
Interface MapBuilder<T>

Type Parameters:
  `T` - A type of the map values.

    public interface MapBuilder<T>

A binding builder for map configurations. Creates a parameterized map of type .

Since:
  3.1

Method Summary
`void` | `in(Scope scope)`
`MapBuilder<T>` | `put(String key, Class<? extends T> interfaceType)`
`MapBuilder<T>` | `put(String key, T value)`
`MapBuilder<T>` | `putAll(Map<String,T> map)`

Method Detail

### put

    MapBuilder<T> put(String key,
                      Class<? extends T> interfaceType)
                      throws ConfigurationException

  Throws:
    `ConfigurationException`

### put

    MapBuilder<T> put(String key,
                      T value)
                      throws ConfigurationException

  Throws:
    `ConfigurationException`

### putAll

    MapBuilder<T> putAll(Map<String,T> map)
                         throws ConfigurationException

  Throws:
    `ConfigurationException`

### in

    void in(Scope scope)

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 © 2001-2013 Apache Cayenne. All Rights Reserved.