com.google.inject.throwingproviders.ThrowingInject |
A version of @Inject
designed for ThrowingProviders. Use by:
ThrowingProviderBinder.create(binder())
.bind(RemoteProvider.class, Customer.class)
.providing(CustomerImpl.class);
where CustomerImpl has a constructor annotated with ThrowingInject.
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |