# Uses of Interface
org.apache.cayenne.di.MapBuilder

Packages that use MapBuilder
Package
Description
org.apache.cayenne.configuration.server
org.apache.cayenne.di

- ## Uses of MapBuilder in org.apache.cayenne.configuration.server

  Methods in org.apache.cayenne.configuration.server that return MapBuilder
  Modifier and Type
  Method
  Description
  `static MapBuilder<PkGenerator>`
  ServerModule.`contributePkGenerators(Binder binder)`
  Provides access to a DI map builder for `PkGenerator`'s that allows downstream modules to "contribute" their own pk generators.
  `static MapBuilder<String>`
  ServerModule.`contributeProperties(Binder binder)`
  Provides access to a DI map builder for runtime properties that allows downstream modules to "contribute" their own properties.

- ## Uses of MapBuilder in org.apache.cayenne.di

  Methods in org.apache.cayenne.di that return MapBuilder
  Modifier and Type
  Method
  Description
  `<T> MapBuilder<T>`
  Binder.`bindMap(Class<T> valueType)`
  Starts a binding of a java.util.Map<String, T> distinguished by its values type.
  `<T> MapBuilder<T>`
  Binder.`bindMap(Class<T> valueType, String bindingName)`
  Starts a binding of a java.util.Map<String, T> distinguished by its values type and binding name.
  `MapBuilder<T>`
  MapBuilder.`put(String key, Class<? extends T> interfaceType)`
  `MapBuilder<T>`
  MapBuilder.`put(String key, T value)`
  `MapBuilder<T>`
  MapBuilder.`putAll(Map<String,T> map)`