Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2227

Validate fields/properties after calling @PostConstruct annotated method, if one exists

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.7.0.Final, 4.1.0.Final
    • 4.0.0.Beta7, 3.6.3.SP1
    • None
    • None

    Description

      The intention of the validation algorithm described in Section 7.6
      "Validation and Error Reporting" is that fields/properties should be validated after any injections. Given that further initialization could take place in a @PostConstruct annotated method, it would be appropriate for org.jboss.resteasy.cdi.JaxrsInjectionTarget to initiate validation from postConstruct() rather than inject() when a @PostConstruct annotated method exists.

      Attachments

        Issue Links

          Activity

            People

              rsigal@redhat.com Ronald Sigal
              rsigal@redhat.com Ronald Sigal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: