I need to see something a bit more concrete to understand how this wired together.
The idea of the GenericBeanFactory is that the GBF is controlled by the MC,
which then creates beans that get injected from the MC components but
those beans aren't themselves managed by the MC
(that is unless you the GBF as a constructor factory for some other MC managed bean).
You're saying that your factory is actually creating MC contexts during
createBeans().
Two questions:
1) Why can't the thing that creates the MC contexts do your logical name + next
number
processing? i.e. you store next number within the factory.
2) What unregisters the MC contexts when they are no longer required?
i.e. what keeps track of this generated name to remove it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143101#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...