geronimo-xbean-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-52) Inner bean definitions are instanciated twice and registered as components
Date Wed, 13 Sep 2006 15:53:23 GMT
     [ http://issues.apache.org/jira/browse/XBEAN-52?page=all ]

Guillaume Nodet closed XBEAN-52.
--------------------------------

    Resolution: Fixed

Author: gnodet
Date: Wed Sep 13 08:45:55 2006
New Revision: 443003

URL: http://svn.apache.org/viewvc?view=rev&rev=443003
Log:
XBEAN-52: Inner bean definitions are instanciated twice and registered as components

Added:
   geronimo/xbean/trunk/xbean-spring-v2a/src/test/java/org/apache/xbean/spring/context/ComponentTest.java
   geronimo/xbean/trunk/xbean-spring-v2a/src/test/java/org/apache/xbean/spring/example/ContainerBean.java
   geronimo/xbean/trunk/xbean-spring-v2a/src/test/java/org/apache/xbean/spring/example/InnerBean.java
   geronimo/xbean/trunk/xbean-spring-v2a/src/test/resources/META-INF/services/org/apache/xbean/spring/http/xbean.apache.org/schemas/component
   geronimo/xbean/trunk/xbean-spring-v2a/src/test/resources/org/apache/xbean/spring/context/component-spring.xml
   geronimo/xbean/trunk/xbean-spring-v2a/src/test/resources/org/apache/xbean/spring/context/component-xbean.xml
   geronimo/xbean/trunk/xbean-spring-v2b/src/test/java/org/apache/xbean/spring/context/ComponentTest.java
   geronimo/xbean/trunk/xbean-spring-v2b/src/test/java/org/apache/xbean/spring/example/ContainerBean.java
   geronimo/xbean/trunk/xbean-spring-v2b/src/test/java/org/apache/xbean/spring/example/InnerBean.java
   geronimo/xbean/trunk/xbean-spring-v2b/src/test/resources/META-INF/services/org/apache/xbean/spring/http/xbean.apache.org/schemas/component
   geronimo/xbean/trunk/xbean-spring-v2b/src/test/resources/org/apache/xbean/spring/context/component-spring.xml
   geronimo/xbean/trunk/xbean-spring-v2b/src/test/resources/org/apache/xbean/spring/context/component-xbean.xml
Modified:
   geronimo/xbean/trunk/xbean-spring-v2a/src/main/java/org/apache/xbean/spring/context/v2a/XBeanNamespaceHandler.java
   geronimo/xbean/trunk/xbean-spring-v2b/src/main/java/org/apache/xbean/spring/context/v2b/XBeanNamespaceHandler.java


> Inner bean definitions are instanciated twice and registered as components
> --------------------------------------------------------------------------
>
>                 Key: XBEAN-52
>                 URL: http://issues.apache.org/jira/browse/XBEAN-52
>             Project: XBean
>          Issue Type: Bug
>          Components: spring
>    Affects Versions: 2.6
>            Reporter: Guillaume Nodet
>         Assigned To: Guillaume Nodet
>             Fix For: 2.7
>
>
> Inner bean definitions are registered as components in the BeanFactory.
> As a side effect, they are instanciated twice: once because it is registered as a singleton
component
> and another time because it is an inner bean.

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