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(java.lang.String key, java.lang.Class<? extends T> interfaceType)`
`MapBuilder<T>` | `put(java.lang.String key, T value)`
`MapBuilder<T>` | `putAll(java.util.Map<java.lang.String,T> map)`

Method Detail

### put

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

  Throws:
    `ConfigurationException`

### put

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

  Throws:
    `ConfigurationException`

### putAll

    MapBuilder<T> putAll(java.util.Map<java.lang.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-2012 Apache Cayenne. All Rights Reserved.