"scott.stark(a)jboss.org" wrote :
| The only missing piece right now is not being able to set a factoryClass on a
beanfactory.
|
I can hack this pretty fast.
As long as it's approved. :-)
"scott.stark(a)jboss.org" wrote :
| The BeanContainer is only acting as a wrapper around the PooledFactoryType to expose
the createBean method as a property. Arguably this can be dropped in factory of a factory
injection notion that would call createBean() to obtain the injected value?
|
You already have this. ;-)
| <bean name="BeanUser#2"
class="org.jboss.test.kernel.deployment.support.container.BeanUser">
| <property name="bean1"><value-factory
bean="PooledFactoryType1" method="createBean" /></property>
| <property name="bean2"><value-factory
bean="PooledFactoryType2" method="createBean"/></property>
| </bean>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137906#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...