Annotation Type Required


  • @Retention(RUNTIME)
    @Target({METHOD,PARAMETER})
    public @interface Required
    Marks a method (typically a JavaBean setter method) as being 'required': that is, the setter method must be configured to be dependency-injected with a value.