Uses of Class org.apache.cayenne.di.Key (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: use: package: org.apache.cayenne.di, class: Key

# Uses of Class
org.apache.cayenne.di.Key

Packages that use Key
Package
Description
org.apache.cayenne.di
org.apache.cayenne.di.spi

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

  Methods in org.apache.cayenne.di that return Key
  Modifier and Type
  Method
  Description
  `static <T> Key<T>`
  Key.`get(Class<T> type)`
  Creates a key for a nameless binding of a given type.
  `static <T> Key<T>`
  Key.`get(Class<T> type, String bindingName)`
  Creates a key for a named binding of a given type.
  `static <T> Key<List<T>>`
  Key.`getListOf(Class<T> type)`
  `static <T> Key<List<T>>`
  Key.`getListOf(Class<T> type, String bindingName)`
  `static <K,V> Key<Map<K,V>>`
  Key.`getMapOf(Class<K> keyType, Class<V> valueType)`
  `static <K,V> Key<Map<K,V>>`
  Key.`getMapOf(Class<K> keyType, Class<V> valueType, String bindingName)`
  Methods in org.apache.cayenne.di with parameters of type Key
  Modifier and Type
  Method
  Description
  `<T> BindingBuilder<T>`
  Binder.`bind(Key<T> key)`
  Starts a binding of a specific interface based on a provided binding key.
  `<T> DecoratorBuilder<T>`
  Binder.`decorate(Key<T> key)`
  `<T> T`
  Injector.`getInstance(Key<T> key)`
  Returns a service instance bound in the container for a specific binding key.
  `<T> Provider<T>`
  Injector.`getProvider(Key<T> key)`

- ## Uses of Key in org.apache.cayenne.di.spi

  Fields in org.apache.cayenne.di.spi declared as Key
  Modifier and Type
  Field
  Description
  `protected Key<K>`
  DICollectionBuilder.`bindingKey`
  Methods in org.apache.cayenne.di.spi with parameters of type Key
  Modifier and Type
  Method
  Description
  `<T> T`
  DefaultInjector.`getInstance(Key<T> key)`
  `<T> Provider<T>`
  DefaultInjector.`getProvider(Key<T> key)`
  Constructors in org.apache.cayenne.di.spi with parameters of type Key
  Modifier
  Constructor
  Description
  ``
  `DICollectionBuilder(Key<K> bindingKey, DefaultInjector injector)`