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.
|
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) |
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.