Closed GoogleCodeExporter closed 9 years ago
No, GWT.create can only be called on objects with no-args constructors. We are
working on AOP native to Gin though (see #38) that will be able to wrap any
Gin-created object.
Original comment by aragos
on 27 Apr 2010 at 3:24
Thanks, but that issue (#38) doesn't explain much. There's no roadmap, and no
promise that it will ever be
implemented, while gwt-ent has working solution with AspectJ annotations. About
the no-args constructor,
couldn't that be solved by creating that no-args constructor at compile time?
I really love to use Gin, but without AOP I have to clutter my code with
crosscutting concerns (logging, permission
checks, etc.), which is not really a pleasant thing to do.
Original comment by dusan.ma...@gmail.com
on 28 Apr 2010 at 10:35
Well, everyone working on this project is doing it in their spare time, so even
if we
created a road map it might not be reliable. Everyone is welcome to submit a
proposal
for a fix though and implement it.
As for creating a no-args constructor, that won't work - then we can't inject
the
normal constructor any more.
Original comment by aragos
on 28 Apr 2010 at 4:48
Original issue reported on code.google.com by
dusan.ma...@gmail.com
on 27 Apr 2010 at 2:55