"adrian(a)jboss.org" wrote :
| Using a use case configuration:
|
| | <bean name="SomeDataSource">
| | <property name="JNDIBinding">
| | <jndibinding xmlns="urn:jboss:naming:1.0"
binding="java:/MyDataSource" bean="SomeDataSource"/>
| | etc.
| |
|
We probably need to make this error prone so we can remove
the bean="SomeDataSoure" and allow it depend on the parent.
Something like:
| <bean name="java:/MyDataSource" whenRequired="constructed">
| <factory><inject bean="JNDIBindingFactory"/></factory>
| <depends><parent/></depends>
| </bean>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972245#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...