ScopeConfiguration |
ScopeConfiguration.add(java.lang.Class<?> service) |
Add the specified type as a service provider in this scope
|
default ScopeConfiguration |
ScopeConfiguration.add(java.lang.Class<?> type, java.lang.Object impl) |
Add an instance of the specified service
|
default ScopeConfiguration |
ScopeConfiguration.add(java.lang.Iterable<java.lang.Class<?>> services) |
Add the specified types as service providers in this scope
|
ScopeConfiguration |
ScopeConfiguration.add(TypeQualifier<?> provides, java.lang.Object impl) |
Add an instance of the specified service
|
ScopeConfiguration |
ScopeConfiguration.ignore(java.lang.Class<?> type) |
Ensure that all providers of the specified service type are ignored in this scope.
|
default ScopeConfiguration |
ScopeConfiguration.named(java.util.Map<java.lang.String,java.lang.Object> namedAttributes) |
Add the specified object instances, each of which will be constrained with a Named constraint.
|
ScopeConfiguration |
ScopeConfiguration.onClose(java.lang.Runnable onClose) |
Configure a task to be run when this scope is closed.
|
default ScopeConfiguration |
ScopeConfiguration.set(java.lang.Class<?> provides, java.lang.Object impl) |
Set the sole implementation of the specified service to be the specified instance.
|
ScopeConfiguration |
ScopeConfiguration.set(TypeQualifier<?> provides, java.lang.Object impl) |
Set the sole implementation of the specified service to be the specified instance.
|