Package org.int4.dirk.annotations
Annotation Type Produces
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface ProducesIndicates a producer method or field.A producer method or field can have any access, and can be static or non-static.
Producer members can be annotated with qualifier annotations, and can be annotated with a scope annotation.
A producer's (result) type is registered with the injector. The field is read or method is called when an instance of that type is needed. Any method parameters will be required dependencies and are automatically supplied when called.