[jboss-dev-forums] [Design of POJO Server] - Re: Generalizing dependency injection

alesj do-not-reply at jboss.com
Fri Mar 7 11:43:19 EST 2008


"scott.stark at jboss.org" wrote :  I'm fuzzy on the bean factory details in terms of whether the pooling is something that can live in the mc code.
  | 
To repeat my 'proposal' more publicly.
I don't know how much this would help, but we can make our MC beanfactory more flexible by doing something like this:
e.g. able to change the underlying impl class from GenericBeanFactory to anything that implments BeanFactory
And I would also change the BeanFactory.createBean() method signature to createBean(Object... args).
Being able to pass in additional information when creating/pooling bean.
And we wouldn't be breaking any previous beanfactory usage.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134906#4134906

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134906



More information about the jboss-dev-forums mailing list