[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2130) add autoCreate attribute to @Name
Dan Allen (JIRA)
jira-events at lists.jboss.org
Sat Oct 20 00:51:03 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-2130?page=all ]
Dan Allen updated JBSEAM-2130:
------------------------------
Attachment: JBSEAM-2130-v1.txt
Uploading patch to add autoCreate attribute to @Name. The only tricky part about this flag is that by setting it to false, it doesn't disable auto create as there are other ways to enable it. A value of true just means "yes, this is auto create". That is consistent with auto create behavior throughout Seam anyway.
> add autoCreate attribute to @Name
> ---------------------------------
>
> Key: JBSEAM-2130
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2130
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Core
> Reporter: Dan Allen
> Priority: Minor
> Fix For: 2.0.1.GA
>
> Attachments: JBSEAM-2130-v1.txt
>
> Original Estimate: 10 minutes
> Remaining Estimate: 10 minutes
>
> I'm sure the argument could go either way, but since @Factory supports autoCreate, and there is an autoCreate attribute on the component node in the component deployment descriptor, there is no reason why the @Name annotation cannot have an autoCreate attribute. It would also make the annotations less verbose.
> http://www.hungtang.com/2007/03/15/annotation_abuse/
--
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 seam-issues
mailing list