| Package | Description | 
|---|---|
| org.apache.cayenne.di | |
| org.apache.cayenne.di.spi | 
| 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. | 
| 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) | 
| 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> 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) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Key<K> | DICollectionBuilder. bindingKey | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | DefaultInjector. getInstance(Key<T> key) | 
| <T> Provider<T> | DefaultInjector. getProvider(Key<T> key) | 
| Constructor and Description | 
|---|
| DICollectionBuilder(Key<K> bindingKey,
                   DefaultInjector injector) | 
Copyright © 2001–2023 Apache Cayenne. All rights reserved.