Package | Description |
---|---|
oracle.dbtools.plugin.api.di |
A
javax.inject
compatible Dependency Injection (D.I.) framework. |
Modifier and Type | Method and Description |
---|---|
ScopeConfiguration |
ScopeConfiguration.add(Class<?> service)
Add the specified type as a service provider in this scope
|
default ScopeConfiguration |
ScopeConfiguration.add(Class<?> type,
Object impl)
Add an instance of the specified service
|
default ScopeConfiguration |
ScopeConfiguration.add(Iterable<Class<?>> services)
Add the specified types as service providers in this scope
|
ScopeConfiguration |
ScopeConfiguration.add(TypeQualifier<?> provides,
Object impl)
Add an instance of the specified service
|
ScopeConfiguration |
ScopeConfiguration.ignore(Class<?> type)
Ensure that all providers of the specified service type are ignored in this scope.
|
default ScopeConfiguration |
ScopeConfiguration.named(Map<String,Object> namedAttributes)
Add the specified object instances, each of which will be constrained with a
Named constraint. |
ScopeConfiguration |
ScopeConfiguration.onClose(Runnable onClose)
Configure a task to be run when this scope is closed.
|
default ScopeConfiguration |
ScopeConfiguration.set(Class<?> provides,
Object impl)
Set the sole implementation of the specified service to be the specified instance.
|
ScopeConfiguration |
ScopeConfiguration.set(TypeQualifier<?> provides,
Object impl)
Set the sole implementation of the specified service to be the specified instance.
|
Modifier and Type | Method and Description |
---|---|
default void |
DependencyInjectionModule.configureApplicationScope(ScopeConfiguration scope)
Enables the module to intercept and enhance the configuration of the
ApplicationScoped scope |
default void |
DependencyInjectionModule.configureRequestScope(javax.servlet.http.HttpServletRequest request,
ScopeConfiguration scope)
Enables the module to intercept and enhance the configuration of the
RequestScoped scope |