Announcement Announcement Module
Collapse
No announcement yet.
JSR-303 method validation of **POJOs**? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JSR-303 method validation of **POJOs**?

    All of the plumbing is in place for Spring 3.1.2 to be able to do method-level JSR-303-style validation with MethodValidationPostProcessor. Problem is, I want to do it against POJOs, not just my Spring-managed beans.

    I saw one implementation of this via AspectJ at http://carinae.net/2010/04/automatic...03-appendix-c/ which I could adapt, but I'd be surprised if Spring didn't already have that.

    Is there an annotation similar to @Configurable (and configuration instruction similar to <context:spring-configured/> ) that would turn on method-level validation for POJOs? I'm not seeing anything new in org.springframework:spring-aspects:3.1.2.RELEASE supporting that.

    Thanks,
    Matthew
Working...
X