Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1525

bean validation for parameters and returned values

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.7.0
    • 3.2, 4.7.0
    • general
    • None

    Description

      Apache bean validation implemented the appendix of the bean validation spec allowing to validate with bean validation annotations method parameters and method returned values.

      It could be pretty cool to add an interceptor to activate it.

      It should be possible as a "general interceptor" (system interceptor probably).

      Attachments

        1. BeanValidationAppendixInterceptorTest.java
          5 kB
          Romain Manni-Bucau
        2. BeanValidationAppendixInterceptor.java
          7 kB
          Romain Manni-Bucau
        3. BeanValidationAppendixInterceptor.java
          6 kB
          Romain Manni-Bucau
        4. DesignByContractTest.java
          6 kB
          Romain Manni-Bucau
        5. bean_validation_appendix_4.0.0_r1094584.patch
          16 kB
          Romain Manni-Bucau

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: