[jboss-dev-forums] [Design of POJO Server] - Re: Generalizing dependency injection
wolfc
do-not-reply at jboss.com
Wed Mar 12 07:38:20 EDT 2008
"alesj" wrote : "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.
|
What would the args be?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135888#4135888
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135888
More information about the jboss-dev-forums
mailing list