I am having an issue trying to autowire two objects that share an abstract parent. I can autowire successfully if there is only one child object. As soon as I add the second object autowiring doesn't seem to work. I've tried setting it to autowire byName, but no luck there either. Here is the context I am using.
Code:<?xml version="1.0" encoding="utf-8"?> <objects> <object id="remoteObject" class="mx.rpc.remoting.mxml.RemoteObject" abstract="true" autowire="byName"> <property name="endpoint" value="http://localhost:8080/links/messagebroker/amf" /> <property name="showBusyCursor" value="true" /> </object> <object id="promoService" parent="remoteObject" autowire="byName"> <property name="destination" value="promoService" /> </object> <object id="keywordService" parent="remoteObject" autowire="byName"> <property name="destination" value="keywordService"/> </object> </objects>


Reply With Quote