[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3506) @AutoCreate overrides @Observer(create = false) when it shouldn't
Pete Muir (JIRA)
jira-events at lists.jboss.org
Sat Oct 4 12:54:25 EDT 2008
@AutoCreate overrides @Observer(create = false) when it shouldn't
-----------------------------------------------------------------
Key: JBSEAM-3506
URL: https://jira.jboss.org/jira/browse/JBSEAM-3506
Project: Seam
Issue Type: Task
Components: Documentation Issues
Reporter: Christian Bauer
I'm not even sure this is semantically correct but a component with @AutoCreate is always instantiated when it is referenced. The documentation only mentions the "when @In does not specify create=true" case. However, if you have an @AutoCreate component and it has an @Observer method, setting @Observer(create = false) has no effect, the component will be instantiated when the event occurs. We definitely need to document this or discuss it further.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list