Returns the appropriate instance for the given injection key; equivalent to getProvider(key).get(). When feasible, avoid using this method, in favor of having Guice inject your dependencies ahead of time. @throws ConfigurationException if this injector cannot find or create the provider. @t
(Key<T> key)
| 188 | * @throws ProvisionException if there was a runtime failure while providing an instance. |
| 189 | */ |
| 190 | <T> T getInstance(Key<T> key); |
| 191 | |
| 192 | /** |
| 193 | * Returns the appropriate instance for the given injection type; equivalent to {@code |
no outgoing calls