<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 5, 2014 at 1:04 PM, Karel Piwko <span dir="ltr"><<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Do you guys plan to only replace factory pattern by registrations or also<br>
include second part of the Tadeas' proposal - making generics a first class<br>
citizen of API?<br></blockquote><div><br></div><div><div>Both. Registrations and making (but not so) generics a first class citizen</div></div><div><br></div><div>Take a look of this example[1].</div><div><br></div><div>
[1] <a href="https://gist.github.com/danielpassos/088498b553699f23ff51" target="_blank" style="font-family:monospace;font-size:12px;line-height:16px;white-space:pre-wrap">https://gist.github.com/danielpassos/088498b553699f23ff51</a> </div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Thanks,<br>
<br>
Karel<br>
<div class=""><div class="h5"><br>
On Mon, 5 May 2014 10:40:07 -0300<br>
Daniel Passos <<a href="mailto:daniel@passos.me">daniel@passos.me</a>> wrote:<br>
<br>
> A long time ago Tadeas Kriz had a awesome idea to kill the ugly factory and<br>
> replace it for registrations[1]. Summers and I have been thinking about it<br>
> and we'd like to replace it in 2.0. So, we are starting the new agdroid<br>
> library for offline and we'd like start it using registrations[2] instead<br>
> Factory.<br>
><br>
> Wdyt? [1] <a href="https://gist.github.com/TadeasKriz/e0f5583e2a24c32dc253" target="_blank">https://gist.github.com/TadeasKriz/e0f5583e2a24c32dc253</a> [2]<br>
> <a href="https://gist.github.com/danielpassos/088498b553699f23ff51" target="_blank">https://gist.github.com/danielpassos/088498b553699f23ff51</a><br>
<br>
</div></div><div class=""><div class="h5">_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br></div></div>