geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Closed: (XBEAN-41) Improper abstract bean definitions handling
Date Fri, 11 Aug 2006 19:11:17 GMT
     [ http://issues.apache.org/jira/browse/XBEAN-41?page=all ]

Guillaume Nodet closed XBEAN-41.
--------------------------------

    Fix Version/s: 2.6
       Resolution: Fixed
         Assignee: Guillaume Nodet

Abstract bean definitions are removed when those can be detected.

Author: gnodet
Date: Fri Aug 11 12:12:49 2006
New Revision: 430865

URL: http://svn.apache.org/viewvc?rev=430865&view=rev
Log:
XBEAN-41: Improper abstract bean definitions handling

Modified:
   geronimo/xbean/trunk/xbean-server/src/main/java/org/apache/xbean/server/spring/configuration/SpringConfiguration.java
   geronimo/xbean/trunk/xbean-server/src/test/resources/org/apache/xbean/server/spring/loader/classpath-xbean.xml


> Improper abstract bean definitions handling
> -------------------------------------------
>
>                 Key: XBEAN-41
>                 URL: http://issues.apache.org/jira/browse/XBEAN-41
>             Project: XBean
>          Issue Type: Bug
>          Components: spring, server
>    Affects Versions: 2.4
>            Reporter: Ilya Bochkov
>         Assigned To: Guillaume Nodet
>             Fix For: 2.6
>
>         Attachments: diff.txt
>
>
> When SpringConfiguration tries to load the config file, it iterates throug the whole
list of bean definitions, including abstract ones, and tries to get them by name (using getBean()
method). If a bean happens to be declared abstract="true", such call raises the exception.
This leads to inability of abstract bean usage. I've created a simple and stupid patch, I
am sure authors will come up with something more gentle, but that's enought for me.
> Please incorporate the fix future releases.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message