Improper abstract bean definitions handling
-------------------------------------------

                 Key: XBEAN-41
                 URL: http://issues.apache.org/jira/browse/XBEAN-41
             Project: XBean
          Issue Type: Bug
          Components: server, spring
    Affects Versions: 2.4
            Reporter: Ilya Bochkov
         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

        

Reply via email to