[
http://jira.jboss.com/jira/browse/JBSEAM-2128?page=all ]
Matt Drees updated JBSEAM-2128:
-------------------------------
Attachment: InitializationTest.java
AbstractExampleComponent.java
components.xml
This is the same code I posted to the forum. The "foo" component is installed
by default, and the attempts in the components.xml file to override its scope are
ignored.
annotations on components installed by default can't be
overriden
-----------------------------------------------------------------
Key: JBSEAM-2128
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2128
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 2.0.0.CR2
Reporter: Matt Drees
Priority: Minor
Attachments: AbstractExampleComponent.java, components.xml,
InitializationTest.java
This may actually be intended; I can't tell for sure.
Certain annotation shouldn't be overrideable, like @Install or @Name. But it seems
to me some should ( like @Scope or @JndiName).
I'll attach a test case with more comments inline. It'd be helpful if a seam dev
could look it over and say "Yes, it's behaving correctly", or
"Something's broken".
--
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