-
Aug 7th, 2012, 10:36 AM
#1
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules