Interface ManagedProvider<T>
- Type Parameters:
T- dependency contract type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A lazy managed dependency without a mandatory Jakarta dependency. A provider resolves against
the currently active explicit call scope when its target is call scoped; it does not capture
the call which created the provider. It is not a routing/failover proxy.
-
Method Summary
-
Method Details
-
get
T get()Resolves the dependency in its valid active ownership scope.- Returns:
- resolved dependency; an explicitly optional configuration adapter may return null
- Throws:
IllegalStateException- if the container/scope is closed or no required call is active
-