Package | Description |
---|---|
oracle.dbtools.plugin.api.di |
A
javax.inject
compatible Dependency Injection (D.I.) framework. |
Modifier and Type | Class and Description |
---|---|
class |
DeferredInstanceProvider<T>
InstanceProvider implementation that defers resolving an instance
until DeferredInstanceProvider.get() , DeferredInstanceProvider.hasMultiple() , DeferredInstanceProvider.isUnsatisfied() , or
DeferredInstanceProvider.iterator() is invoked |
class |
ResolvedInstances<T>
Represents the discovered matches for a call to
InstanceLocator.select(TypeQualifier) |
Modifier and Type | Method and Description |
---|---|
default <T> InstanceProvider<T> |
InstanceLocator.select(Class<T> service)
Select all services matching the specified type.
|
default <T> InstanceProvider<T> |
InstanceLocator.select(Class<T> service,
Annotation... qualifiers)
Deprecated.
Use
InstanceLocator.select(TypeQualifier) instead |
<T> InstanceProvider<T> |
Instances.select(TypeQualifier<T> service) |
<T> InstanceProvider<T> |
Instances.Builder.select(TypeQualifier<T> service) |
<T> InstanceProvider<T> |
InstanceLocator.select(TypeQualifier<T> qualifier)
Select all services matching the specified
TypeQualifier |
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<TypeQualifier<?>,InstanceProvider<?>>> |
Instances.entries()
Enumerate each of the instances in this set
|
Modifier and Type | Method and Description |
---|---|
static <T> ResolvedInstances<T> |
ResolvedInstances.matches(InstanceProvider<T> firstMatch,
InstanceProvider<T>... subsequentMatches)
Concatenates a series of matches together
|
static <T> ResolvedInstances<T> |
ResolvedInstances.matches(InstanceProvider<T> firstMatch,
InstanceProvider<T>... subsequentMatches)
Concatenates a series of matches together
|
Instances.Builder |
Instances.Builder.set(TypeQualifier<?> service,
InstanceProvider<?> provider)
Set the sole
InstanceProvider for the specified service |