Class ProducesTypeRegistrationExtension

  • All Implemented Interfaces:
    TypeRegistrationExtension

    public class ProducesTypeRegistrationExtension
    extends java.lang.Object
    implements TypeRegistrationExtension
    Extension which looks for members annotated with a produces annotation, and if found registers these with the injector.
    • Constructor Detail

      • ProducesTypeRegistrationExtension

        public ProducesTypeRegistrationExtension​(java.lang.Class<? extends java.lang.annotation.Annotation> produces)
        Constructs a new instance.
        Parameters:
        produces - an annotation Class marking producer fields and methods, cannot be null