Reputation: 59596
In Spring 3.0, ApplicationContext
performs miscellaneous verification when creating beans and performing dependency injections.
It is possible to have it use a bean validator
or should I have it call back a @PostConstruct
method calling this validator?
Update
This validator would perform deeper validation than ApplicationContext
.
Upvotes: 1
Views: 62
Reputation: 4604
What do you want to validate? Depending on your needs BeanFactoryPostProcessor might fit.
Upvotes: 1