<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Spring Actionscript : Autowire new instances of non visual objects</title>
	<atom:link href="http://www.flashfuck.it/2010/01/21/spring-actionscript-autowire-objects-not-defined-in-context/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashfuck.it/2010/01/21/spring-actionscript-autowire-objects-not-defined-in-context/</link>
	<description>flash platform, gaming and 3D</description>
	<lastBuildDate>Sun, 13 Jun 2010 23:52:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Coffee May Help Risk With Heart Rhythm Problems</title>
		<link>http://www.flashfuck.it/2010/01/21/spring-actionscript-autowire-objects-not-defined-in-context/comment-page-1/#comment-395</link>
		<dc:creator>Coffee May Help Risk With Heart Rhythm Problems</dc:creator>
		<pubDate>Sat, 12 Jun 2010 11:48:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashfuck.it/?p=166#comment-395</guid>
		<description>&lt;strong&gt;Drink Coffee for a Healthier You...&lt;/strong&gt;

......</description>
		<content:encoded><![CDATA[<p><strong>Drink Coffee for a Healthier You&#8230;</strong></p>
<p>&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pigiuz</title>
		<link>http://www.flashfuck.it/2010/01/21/spring-actionscript-autowire-objects-not-defined-in-context/comment-page-1/#comment-363</link>
		<dc:creator>pigiuz</dc:creator>
		<pubDate>Wed, 03 Feb 2010 11:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashfuck.it/?p=166#comment-363</guid>
		<description>post updated, 
thanx roland :)</description>
		<content:encoded><![CDATA[<p>post updated,<br />
thanx roland <img src='http://www.flashfuck.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pigiuz</title>
		<link>http://www.flashfuck.it/2010/01/21/spring-actionscript-autowire-objects-not-defined-in-context/comment-page-1/#comment-358</link>
		<dc:creator>pigiuz</dc:creator>
		<pubDate>Fri, 22 Jan 2010 14:06:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashfuck.it/?p=166#comment-358</guid>
		<description>I know I can autowire properties in that way but that approach does not fit to my scenario:

I need to creare N instances of a class without having to define those objects on context.

think about this:
for (var i:int=0;i&lt;n;i++){
 new MyAutowiringClass();
}
if MyAutoWiringClass extends AutowiringObjectBase and has some properties marked as [Autowired] those properties are injected automatically and I did not write 1 line of xml on the context.</description>
		<content:encoded><![CDATA[<p>I know I can autowire properties in that way but that approach does not fit to my scenario:</p>
<p>I need to creare N instances of a class without having to define those objects on context.</p>
<p>think about this:<br />
for (var i:int=0;i<n;i++){<br />
 new MyAutowiringClass();<br />
}<br />
if MyAutoWiringClass extends AutowiringObjectBase and has some properties marked as [Autowired] those properties are injected automatically and I did not write 1 line of xml on the context.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roland Zwaga</title>
		<link>http://www.flashfuck.it/2010/01/21/spring-actionscript-autowire-objects-not-defined-in-context/comment-page-1/#comment-357</link>
		<dc:creator>Roland Zwaga</dc:creator>
		<pubDate>Fri, 22 Jan 2010 13:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashfuck.it/?p=166#comment-357</guid>
		<description>Hey there,

its also possible to use the [Autowired] metadata on non-visual objects. Just annotate the properties in your class, and only define your object in the XML like this:


when you instantiate the obhect through the container liek this:
var o:myClass = applicationContext,getObject(&quot;myObject&quot;);

your properties will have been injected.</description>
		<content:encoded><![CDATA[<p>Hey there,</p>
<p>its also possible to use the [Autowired] metadata on non-visual objects. Just annotate the properties in your class, and only define your object in the XML like this:</p>
<p>when you instantiate the obhect through the container liek this:<br />
var o:myClass = applicationContext,getObject(&#8220;myObject&#8221;);</p>
<p>your properties will have been injected.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
