Ticket #91 (closed defect: fixed)
factory-bean not looked for in parent factory
| Reported by: | d1rtym0nk3y | Owned by: | markmandel |
|---|---|---|---|
| Priority: | major | Milestone: | Alpha2 |
| Component: | Beans | Version: | 2.0 |
| Keywords: | factory, bean, parent | Cc: |
Description
I have an application factory set as parent for an internal factory for modelglue. in the modelglue config bean i'm referencing a factory bean in the parent factory like this..
<bean id="modelglue.modelGlueConfiguration" class="ModelGlue.gesture.configuration.ModelGlueConfiguration">
<property name="reload">
<bean factory-bean="AppConfig" factory-method="getReloadEveryRequest" />
</property>
<!-- all the other usual properties here -->
</bean>
This generates the error "The Bean Definition 'AppConfig?' does not exist in this factory". True, but it does exist in the parent factory and this worked in CS1.2
If I import the xml file containing the AppConfig? bean then this works fine
Change History
Note: See
TracTickets for help on using
tickets.