Package com.google.inject.spi
Interface ProviderKeyBinding<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Key<? extends jakarta.inject.Provider<? extends T>>
getProviderKey()
Returns the key used to resolve the provider's binding.-
Methods inherited from interface com.google.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
-
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, applyTo, getSource
-
-
-
-
Method Detail
-
getProviderKey
Key<? extends jakarta.inject.Provider<? extends T>> getProviderKey()
Returns the key used to resolve the provider's binding. That binding can be retrieved from an injector usingInjector.getBinding(providerKey)
-
-