Yea, just tried it again, and it's autowiring.
Type: Posts; User: hendershot; Keyword(s):
Yea, just tried it again, and it's autowiring.
The interesting thing now is that I don't need "-keep-as3-metadata" in eclipse or in flexmojos anymore autowiring with the metadata just works.
Found the problem. Was using XMLApplicationContext instead of FlexXMLApplicationContext.
Thanks for the tip with the self dispatching events.
Need some help getting Autowired to work. I am fairly new to Flex, been playing with it for a couple of months and now starting a new project and would like to use Spring DI for it.
I have custom...
Using resin 2, ContextLoaderServlet in web.xml, have the following in my application context:
<context:component-scan base-package="com.mypackage"/>
In a unit test it works and I can get...
thanks! that works much better.
Followed the online reference and did the following:
<bean class="org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator"/>
<bean...