Annotation Type Produces

  • @Documented
    public @interface Produces
    Annotates methods of a producer module to create a production binding. If the method returns a ListenableFuture or FluentFuture, then the parameter type of the future is bound to the value that the future produces; otherwise, the return type is bound to the returned value. The production component will pass dependencies to the method as parameters.