[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-775) Seam should fail to startup if duplicate factory names are detected

Gavin King (JIRA) jira-events at jboss.com
Wed Feb 7 17:40:30 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-775?page=all ]

Gavin King closed JBSEAM-775.
-----------------------------

    Resolution: Done

> Seam should fail to startup if duplicate factory names are detected
> -------------------------------------------------------------------
>
>                 Key: JBSEAM-775
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-775
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0.GA
>         Environment: Any.
>            Reporter: Mike Quilleash
>         Assigned To: Gavin King
>             Fix For: 1.1.6.GA
>
>
> When basing several components off a superclass with a @Factory annotation the @Factory gets bound to the last component's @Name.
> Init.addFactoryMethod(), Init.addFactoryMethodBinding() and Init.addFactoryValueBinding() should all throw exceptions if something tries to insert an existing name into the map.
> Would be nice to have @Factory in superclasses but I don't see a way of doing this as it can't "tell" which component it should be calling.

-- 
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