|
From: <ad...@jb...> - 2005-05-27 21:29:27
|
I just added support for the property injection, passing parameters in lifecycle operations will come soon... Commit message: | Add support for injecting a property of a bean rather than a bean, | e.g. | <bean name="MyService" class="MyClass"> | <property name="transactionManager"> | <inject bean="TransactionManagerService" property="instance"/> | </property> | </bean> | or | MyClass.setTransactionManager(TransactionManagerService.getInstance()); | | This also works anywhere there is an injection, i.e. properties, factories, | parameters, collections, etc. | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879316#3879316 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879316 |