Package | Description |
---|---|
oracle.dbtools.plugin.api.di |
A
javax.inject
compatible Dependency Injection (D.I.) framework. |
Modifier and Type | Method and Description |
---|---|
<T> Instances.Builder |
Instances.Builder.add(Class<T> service,
T instance)
Add an instance of a service
|
<T> Instances.Builder |
Instances.Builder.add(TypeQualifier<T> service,
T instance)
Add an instance of a service
|
static Instances.Builder |
Instances.builder()
Produce a new
Instances.Builder instance |
Instances.Builder |
Instances.Builder.clear()
Clear all instances
|
Instances.Builder |
Instances.Builder.merge(Instances other,
boolean overwrite)
Merge the specified set of instances into this set, overwriting any
existing instances with the specified values
|
Instances.Builder |
Instances.modify()
Produce a
Instances.Builder instance initialized with the state of this
instance |
Instances.Builder |
Instances.Builder.remove(Class<?> type)
Remove all providers of the specified type
|
<T> Instances.Builder |
Instances.Builder.remove(TypeQualifier<T> service)
Remove all providers of the specified service
|
<T> Instances.Builder |
Instances.Builder.set(Class<T> service,
T instance)
Set the sole provider of the specified service
|
Instances.Builder |
Instances.Builder.set(TypeQualifier<?> service,
InstanceProvider<?> provider)
Set the sole
InstanceProvider for the specified service |
<T> Instances.Builder |
Instances.Builder.set(TypeQualifier<T> qualifier,
T instance)
Set the sole implementation of the specified service
|