Annotation Type ThrowingInject


  • @Target(CONSTRUCTOR)
    @Retention(RUNTIME)
    @Documented
    public @interface 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.
    Since:
    4.0