[jboss-jira] [JBoss JIRA] Created: (JBSEAM-356) Session bean assertions
Gavin King (JIRA)
jira-events at jboss.com
Wed Sep 20 16:34:00 EDT 2006
Session bean assertions
-----------------------
Key: JBSEAM-356
URL: http://jira.jboss.com/jira/browse/JBSEAM-356
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Reporter: Gavin King
For people who like more of a design-by-contract style, we could let you specify Hibernate Validator annotations on the session bean, and check them after @PostConstruct and before and after each business method.
eg.
@Stateful
public class Foo {
@NotNull private Bar bar;
@Min(0) int count;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list