## 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 and 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.

    Methods in org.apache.cayenne.di with parameters of type Key
    Modifier and Type | Method and Description
    --- | ---
    `<T> BindingBuilder<T>` | Binder.`bind(Key<T> key)` Starts a binding of a specific interface based on a provided binding 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

    Methods in org.apache.cayenne.di.spi with parameters of type Key
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | DefaultInjector.`getInstance(Key<T> key)`
    `<T> Provider<T>` | DefaultInjector.`getProvider(Key<T> key)`

Copyright © 2001–2018 Apache Cayenne. All rights reserved.